mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
CMake: Added 'make check' as alias to 'make test'
This commit is contained in:
@@ -29,13 +29,11 @@ if(LDFLAGS)
|
||||
target_compile_options(${TEST_MAIN} PRIVATE ${LDFLAGS})
|
||||
endif()
|
||||
|
||||
# set(C_STANDARD 99)
|
||||
# set(C_STANDARD_REQUIRED YES)
|
||||
|
||||
# if(CGLM_USE_C11)
|
||||
# set(C_STANDARD 11)
|
||||
# endif()
|
||||
|
||||
add_test(
|
||||
NAME cglm.${TEST_MAIN}
|
||||
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