2016-03-04 23:04:30 +00:00
|
|
|
add_executable(nodtool main.cpp)
|
2015-07-07 03:22:19 +00:00
|
|
|
|
2016-03-04 23:04:30 +00:00
|
|
|
target_link_libraries(nodtool nod logvisor)
|
2015-07-07 03:22:19 +00:00
|
|
|
if (NOT WIN32)
|
2016-10-27 23:49:40 +00:00
|
|
|
target_link_libraries(nodtool pthread)
|
2021-06-22 19:16:56 +00:00
|
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
2016-10-27 23:49:40 +00:00
|
|
|
target_link_libraries(nodtool execinfo)
|
2021-06-22 19:16:56 +00:00
|
|
|
else ()
|
2016-10-27 23:49:40 +00:00
|
|
|
target_link_libraries(nodtool dl)
|
2021-06-22 19:16:56 +00:00
|
|
|
endif ()
|
|
|
|
else ()
|
|
|
|
target_sources(nodtool PRIVATE app.manifest)
|
|
|
|
endif ()
|