cmake: rename BUILD_TESTING to TEST_BUILD

This commit is contained in:
Marc-André Moreau 2012-10-12 16:04:46 -04:00
parent 5d69a74d34
commit c26a623ed1
11 changed files with 11 additions and 11 deletions

View File

@ -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()

View File

@ -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)

View File

@ -41,6 +41,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -44,6 +44,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -46,6 +46,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -42,6 +42,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -37,6 +37,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -46,6 +46,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -38,6 +38,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -48,6 +48,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()

View File

@ -96,6 +96,6 @@ endif()
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
if(BUILD_TESTING)
if(TEST_BUILD)
add_subdirectory(test)
endif()