summaryrefslogtreecommitdiffstatshomepage
path: root/test/CMakeLists.txt
blob: 4d930a98fdc0c6c9001acb3311bc846a9dd44cbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
add_executable(echo echo.cpp)
set_target_properties(echo PROPERTIES OUTPUT_NAME winapi-common-test-echo)
install(TARGETS echo RUNTIME DESTINATION bin)
if(MSVC)
    install(FILES $<TARGET_PDB_FILE:echo> DESTINATION bin OPTIONAL)
endif()
if(MINGW)
    target_compile_options(echo PRIVATE -municode)
    target_link_libraries(echo PRIVATE -municode)
endif()

add_subdirectory(unit_tests)