mirror of
https://github.com/recp/cglm.git
synced 2026-11-20 10:43:09 -06:00
CMake: Added 'make check' as alias to 'make test'
This commit is contained in:
1 parent
1fb5f89eaa
commit
be68d57499
1 file changed
+5
-7
+5
-7
@@ -29,13 +29,11 @@ if(LDFLAGS)
|
|||||||
target_compile_options(${TEST_MAIN} PRIVATE ${LDFLAGS})
|
target_compile_options(${TEST_MAIN} PRIVATE ${LDFLAGS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# set(C_STANDARD 99)
|
|
||||||
# set(C_STANDARD_REQUIRED YES)
|
|
||||||
|
|
||||||
# if(CGLM_USE_C11)
|
|
||||||
# set(C_STANDARD 11)
|
|
||||||
# endif()
|
|
||||||
|
|
||||||
add_test(
|
add_test(
|
||||||
NAME cglm.${TEST_MAIN}
|
NAME cglm.${TEST_MAIN}
|
||||||
COMMAND ${TEST_MAIN} ${TEST_RUNNER_PARAMS})
|
COMMAND ${TEST_MAIN} ${TEST_RUNNER_PARAMS})
|
||||||
|
|
||||||
|
add_custom_target(check
|
||||||
|
make
|
||||||
|
COMMAND ${CMAKE_CTEST_COMMAND} -V
|
||||||
|
DEPENDS cglm)
|
||||||
Reference in new issue
Block a user