File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,16 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
2626endif ()
2727
2828install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_BINARY_DIR} )
29+
30+ # find_package(PkgConfig REQUIRED)
31+ # pkg_check_modules(examiner REQUIRED libexaminer)
32+ find_package (examiner REQUIRED)
33+ # add_subdirectory(examiner)
34+
35+ add_executable (${PROJECT_NAME} _test test /test .c)
36+ target_link_libraries (${PROJECT_NAME} _test PRIVATE ${PROJECT_NAME} examiner)
37+ # target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME} ${examiner_LINK_LIBRARIES})
38+ # target_include_directories(${PROJECT_NAME}_test PRIVATE ${examiner_INCLUDE_DIRS})
39+
40+ include (CTest)
41+ add_test (NAME ${PROJECT_NAME} _test COMMAND ${PROJECT_NAME} _test)
Original file line number Diff line number Diff line change 1111 "hidden" : true ,
1212 "binaryDir" : " ${sourceDir}/build" ,
1313 "cacheVariables" : {
14- "CMAKE_BUILD_TYPE" : " Release"
14+ "CMAKE_BUILD_TYPE" : " Release" ,
15+ "CMAKE_PREFIX_PATH" : " ${sourceDir}/examiner-install"
1516 }
1617 },
1718 {
You can’t perform that action at this time.
0 commit comments