#------------------------------------------------------------------- # This file is part of the CMake build system for Scol # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- # sources files set(SOURCE_FILES src/main.cpp ) set(RESOURCE_FILES include/resource.h resources/icon1.ico resources/usmwin.rc) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/resources) add_executable(usmwin WIN32 ${SOURCE_FILES} ${RESOURCE_FILES}) add_dependencies(usmwin kernel) set_target_properties(usmwin PROPERTIES OUTPUT_NAME scol) # no need to link to scol.dll, the library is dynamicly loaded. #target_link_libraries(usmwin ${SCOL_LIBRARIES}) # Install exe? # if (SCOL_INSTALL_XXX) # scol_install_target(usmwin "") # if (SCOL_INSTALL_PDB) # # install debug pdb files # install(FILES ${SCOL_BINARY_DIR}/bin${SCOL_DEBUG_PATH}/scol.pdb # DESTINATION bin${SCOL_DEBUG_PATH} CONFIGURATIONS Debug # ) # # install(FILES ${SCOL_BINARY_DIR}/bin${SCOL_RELWDBG_PATH}/scol.pdb # DESTINATION bin${SCOL_RELWDBG_PATH} CONFIGURATIONS RelWithDebInfo # ) # endif () #endif () # install Scol usmwin scol_config_component(usmwin)