mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #10776 from akallabeth/packaging-tests
[cmake] split tests
This commit is contained in:
@@ -32,7 +32,7 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
|
||||
option(EXPORT_ALL_SYMBOLS "Export all symbols form library" OFF)
|
||||
option(BUILD_TESTING "Build library unit tests" ON)
|
||||
option(BUILD_TESTING_INTERNAL "Build library unit tests" ON)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
if(NOT EXPORT_ALL_SYMBOLS)
|
||||
|
||||
@@ -100,6 +100,6 @@ endif()
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "uwac")
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(BUILD_TESTING_INTERNAL OR BUILD_TESTING)
|
||||
# add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
@@ -28,7 +28,7 @@ endif()
|
||||
set(UWAC_BUILD_CONFIG_LIST "")
|
||||
GET_CMAKE_PROPERTY(res VARIABLES)
|
||||
FOREACH(var ${res})
|
||||
IF (var MATCHES "^WITH_*|^BUILD_TESTING|^UWAC_HAVE_*")
|
||||
IF (var MATCHES "^WITH_*|^BUILD_TESTING*|^UWAC_HAVE_*")
|
||||
LIST(APPEND UWAC_BUILD_CONFIG_LIST "${var}=${${var}}")
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
|
||||
Reference in New Issue
Block a user