mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
Build rosapps, rostests, wallpapers when their CMake variables are set instead of checking for directory existence.
By default, ReactOS will now build without any of these modules. You can enable them using e.g. "configure -DENABLE_ROSTESTS=1".
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rostests/)
|
||||
if(ENABLE_ROSTESTS)
|
||||
add_subdirectory(rostests)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rosapps/)
|
||||
if(ENABLE_ROSAPPS)
|
||||
add_subdirectory(rosapps)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpapers/)
|
||||
if(ENABLE_WALLPAPERS)
|
||||
add_subdirectory(wallpapers)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user