blob: a40b6e426853e3a5871d09cbab70ce5acc1f9346 (
plain) (
tree)
|
|
add_executable(nt_namespace_convert convert_nt_path.cpp)
target_link_libraries(nt_namespace_convert PRIVATE nt_namespace)
set_target_properties(nt_namespace_convert PROPERTIES OUTPUT_NAME convert_nt_path)
if(MINGW)
target_compile_options(nt_namespace_convert PRIVATE -municode)
target_link_libraries(nt_namespace_convert PRIVATE -municode)
endif()
install(TARGETS nt_namespace_convert RUNTIME DESTINATION bin)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
install(FILES "$<TARGET_PDB_FILE:nt_namespace_convert>" DESTINATION bin OPTIONAL)
endif()
|