aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/um/wrappers/special/nt_namespace/utils/CMakeLists.txt
blob: a40b6e426853e3a5871d09cbab70ce5acc1f9346 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                                  
         

                                                                  
       

                                                             


                                                                                     
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()