Win32Configuration.cmake 609 B

12345678910111213141516
  1. set(INSTALL_BIN_DIR .)
  2. set(INSTALL_RESOURCE_DIR resources)
  3. set(HAVE_UPDATER 1)
  4. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Oy-")
  5. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Oy-")
  6. # Add install rules for required system runtimes such as MSVCRxx.dll
  7. SET (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)
  8. INCLUDE(InstallRequiredSystemLibraries)
  9. IF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
  10. INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
  11. DESTINATION ${INSTALL_BIN_DIR}
  12. PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ
  13. COMPONENT Runtime)
  14. ENDIF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)