1 add_library(arser INTERFACE)
3 # It specifies INTERFACE so that future targets linked with arser library will inherit its include directory.
4 # It means that a developer who want to link arser just need to add one line.
5 # target_link_library(another-users-target arser)
6 target_include_directories(arser INTERFACE include/)
10 endif(NOT ENABLE_TEST)
12 nnas_find_package(GTest REQUIRED)
13 set(TESTS "${CMAKE_CURRENT_SOURCE_DIR}/tests/arser.test.cpp")
14 GTest_AddTest(arser_test ${TESTS})
15 target_include_directories(arser_test PRIVATE include)