mirror of https://github.com/AxioDL/nod.git
14 lines
365 B
CMake
14 lines
365 B
CMake
add_executable(nodtool main.cpp)
|
|
|
|
target_link_libraries(nodtool nod logvisor)
|
|
if (NOT WIN32)
|
|
target_link_libraries(nodtool pthread)
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
target_link_libraries(nodtool execinfo)
|
|
else ()
|
|
target_link_libraries(nodtool dl)
|
|
endif ()
|
|
else ()
|
|
target_sources(nodtool PRIVATE app.manifest)
|
|
endif ()
|