Changeset 14727


Ignore:
Timestamp:
Apr 2, 2016, 6:01:01 PM (17 months ago)
Author:
mikedld
Message:

Add files necessary for .msi packages creation on Windows

Location:
trunk
Files:
13 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r14715 r14727  
    569569endif()
    570570
     571if(WIN32)
     572    add_subdirectory(dist/msi)
     573endif()
     574
    571575set(CPACK_SOURCE_GENERATOR TBZ2)
    572576set(CPACK_SOURCE_PACKAGE_FILE_NAME "${TR_NAME}-${TR_USER_AGENT_PREFIX}")
  • trunk/qt/CMakeLists.txt

    r14625 r14727  
    254254    install(FILES ${${PROJECT_NAME}_QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/${TR_NAME}/translations)
    255255endif()
     256
     257if(WIN32)
     258    file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/dist-qt.conf" CONTENT "")
     259    install(FILES "${CMAKE_CURRENT_BINARY_DIR}/dist-qt.conf" DESTINATION ${CMAKE_INSTALL_SYSCONFDIR} RENAME qt.conf)
     260endif()
Note: See TracChangeset for help on using the changeset viewer.