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 $ DESTINATION bin OPTIONAL) endif() if(MINGW) target_compile_options(echo PRIVATE -municode) target_link_libraries(echo PRIVATE -municode) endif() add_subdirectory(unit_tests)