Skip to content

Commit a6a2b88

Browse files
committed
add jsontestrunner to cmake
1 parent 9410b08 commit a6a2b88

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,18 @@ target_include_directories(jsoncpp PUBLIC
2020
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
2121
$<INSTALL_INTERFACE:include>
2222
)
23+
24+
25+
26+
set(SOURCES_JSONTESTRUNNER
27+
"src/jsontestrunner/main.cpp"
28+
)
29+
30+
add_executable(jsontestrunner ${SOURCES_JSONTESTRUNNER})
31+
32+
target_link_libraries(jsontestrunner PRIVATE jsoncpp)
33+
34+
target_include_directories(jsontestrunner PRIVATE
35+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
36+
$<INSTALL_INTERFACE:include>
37+
)

0 commit comments

Comments
 (0)