diff --git a/Applications/PluginGenerator/Changelog.txt b/Applications/PluginGenerator/Changelog.txt new file mode 100644 index 0000000000..383b22c38e --- /dev/null +++ b/Applications/PluginGenerator/Changelog.txt @@ -0,0 +1,18 @@ +This is the change log for the MITK Plugin Generator + + +Changes since version 1.0.0 +====================================================================== + +Changes in the MITKPluginGenerator executable +---------------------------------------------------------------------- + +- Added printing the version number to the console. +- Added hint how to get more help if something went wrong. + +Changes in the generated files +---------------------------------------------------------------------- + +- Fixed user manual for the generated plugin. +- Added comments in the generated project's CMakeLists.txt file about + how to set-up the MITK module system. diff --git a/Applications/PluginGenerator/SetupPackaging.cmake b/Applications/PluginGenerator/SetupPackaging.cmake index 48cbf89818..bdebf58d77 100644 --- a/Applications/PluginGenerator/SetupPackaging.cmake +++ b/Applications/PluginGenerator/SetupPackaging.cmake @@ -1,50 +1,52 @@ #----------------------------------------------------------------------------- # Installation #----------------------------------------------------------------------------- install(TARGETS ${exec_target} DESTINATION .) +install(FILES "${PROJECT_SOURCE_DIR}/Changelog.txt" DESTINATION .) + install(CODE " set(DIRS ${QT_LIBRARY_DIR} ${QT_LIBRARY_DIR}/../bin ${CTK_LIBRARY_DIRS} ) include(BundleUtilities) fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/${exec_target}${CMAKE_EXECUTABLE_SUFFIX}\" \"\" \"\${DIRS}\") ") #----------------------------------------------------------------------------- # Packaging #----------------------------------------------------------------------------- # # First, set the generator variable # if(WIN32) set(CPACK_GENERATOR ZIP) elseif(APPLE) set(CPACK_GENERATOR DragNDrop) else() set(CPACK_GENERATOR TGZ) endif() # include required mfc libraries include(InstallRequiredSystemLibraries) set(CPACK_PACKAGE_NAME "MITKPluginGenerator") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MITK PluginGenerator bootstraps MITK-based projects") set(CPACK_PACKAGE_VENDOR "German Cancer Research Center (DKFZ)") set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/MITKCopyright.txt") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/MITKCopyright.txt") set(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}") # tell cpack to strip all debug symbols from all files set(CPACK_STRIP_FILES ON) include(CPack)