Debian Codegraph @

src/LibBGCode/cmd/CMakeLists.txt

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 add_executable(${_libname}_cmd main.cpp )
2
3 find_package(Boost ${Boost_VER} REQUIRED COMPONENTS nowide)
4
5 if (MSVC)
6 set_target_properties(Boost::nowide PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release)
7 endif ()
8
9 set_target_properties(${_libname}_cmd PROPERTIES OUTPUT_NAME ${_libname})
10 target_link_libraries(${_libname}_cmd ${_libname}_convert Boost::nowide)
11
12
13 if (NOT EMSCRIPTEN)
14 install(TARGETS ${_libname}_cmd
15 EXPORT ${PROJECT_NAME}ConvertTargets
16 RUNTIME DESTINATION bin
17 INCLUDES DESTINATION include/${PROJECT_NAME}
18 )
19 else ()
20 target_link_libraries(${_libname}_cmd nodefs.js noderawfs.js)
21 endif ()