cmake: rename BUILD_TESTING to TEST_BUILD
This commit is contained in:
parent
5d69a74d34
commit
c26a623ed1
@ -208,7 +208,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/freerdp/config.h.in ${CMAKE_C
|
||||
|
||||
INCLUDE(CTest)
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
enable_testing()
|
||||
endif()
|
||||
|
||||
|
@ -15,7 +15,7 @@ if(MSVC)
|
||||
option(WITH_WIN8 "Use Windows 8 libraries" OFF)
|
||||
endif()
|
||||
|
||||
option(BUILD_TESTING "Build unit tests" OFF)
|
||||
option(TEST_BUILD "Build unit tests" OFF)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_GREATER 2.8.8)
|
||||
option(MONOLITHIC_BUILD "Use monolithic build" OFF)
|
||||
|
@ -41,6 +41,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -44,6 +44,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -46,6 +46,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -42,6 +42,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -37,6 +37,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -46,6 +46,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -38,6 +38,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -48,6 +48,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -96,6 +96,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(TEST_BUILD)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user