mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 15:50:47 -04:00
cmake: no reason for test to depend on gcc/clang
This commit is contained in:
parent
216a1831de
commit
c8293b20a9
@ -64,12 +64,6 @@ endif(ENABLE_ZLIB_SUPPORT)
|
|||||||
add_subdirectory(library)
|
add_subdirectory(library)
|
||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
|
|
||||||
if(ENABLE_TESTING)
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
|
||||||
add_subdirectory(tests)
|
|
||||||
endif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_PROGRAMS)
|
if(ENABLE_PROGRAMS)
|
||||||
add_subdirectory(programs)
|
add_subdirectory(programs)
|
||||||
endif()
|
endif()
|
||||||
@ -79,6 +73,8 @@ ADD_CUSTOM_TARGET(apidoc
|
|||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
if(ENABLE_TESTING)
|
if(ENABLE_TESTING)
|
||||||
|
add_subdirectory(tests)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(covtest
|
ADD_CUSTOM_TARGET(covtest
|
||||||
COMMAND make test
|
COMMAND make test
|
||||||
COMMAND programs/test/selftest
|
COMMAND programs/test/selftest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user