mirror of
https://github.com/overte-org/overte.git
synced 2025-07-19 17:08:26 +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()
|
endif()
|
||||||
|
|
||||||
# Don't build the Screenshare Electron app when building the `ALL_BUILD` target.
|
if (PR_BUILD)
|
||||||
# Don't build the Screenshare Electron app when a user selects "Build Solution" from within Visual Studio.
|
# DO build the Screenshare Electron app when building the `ALL_BUILD` target.
|
||||||
set_target_properties(${TARGET_NAME} PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
# 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