mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +02:00
Build in PR builds
This commit is contained in:
parent
6291590737
commit
cc9eb31d99
1 changed files with 9 additions and 3 deletions
|
@ -32,6 +32,12 @@ elseif (APPLE)
|
|||
)
|
||||
endif()
|
||||
|
||||
# Don't build the Screenshare Electron app when building the `ALL_BUILD` target.
|
||||
# Don't build the Screenshare Electron app when a user selects "Build Solution" from within Visual Studio.
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
||||
if (PR_BUILD)
|
||||
# DO build the Screenshare Electron app when building the `ALL_BUILD` target.
|
||||
# DO build the Screenshare Electron app when a user selects "Build Solution" from within Visual Studio.
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
||||
else ()
|
||||
# DO NOT build the Screenshare Electron app when building the `ALL_BUILD` target.
|
||||
# DO NOT build the Screenshare Electron app when a user selects "Build Solution" from within Visual Studio.
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue