13 lines
476 B
CMake
13 lines
476 B
CMake
add_executable(test_nwnss_stdlib
|
|
test_nwnss_stdlib.c)
|
|
|
|
target_compile_features(test_nwnss_stdlib PRIVATE c_std_99)
|
|
target_include_directories(test_nwnss_stdlib PRIVATE
|
|
"${CMAKE_SOURCE_DIR}/include/nwnss"
|
|
"${CMAKE_SOURCE_DIR}/include/nwnss/include"
|
|
"${CMAKE_SOURCE_DIR}/include/nwnss/library"
|
|
"${CMAKE_SOURCE_DIR}/include/nwnss/public")
|
|
target_link_libraries(test_nwnss_stdlib PRIVATE mars_nwe::nwnss)
|
|
|
|
add_test(NAME nwnss.stdlib COMMAND test_nwnss_stdlib)
|