enhanced_release_docs1_v0.27
This commit is contained in:
parent
eb46690f3b
commit
759d8ba022
@ -105,7 +105,6 @@ set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${VS}
|
||||
|
||||
# https://stackoverflow.com/questions/17495906/copying-files-and-including-them-in-a-cpack-archive
|
||||
install(FILES "${PROJECT_SOURCE_DIR}/samples/exifprint.cpp" DESTINATION "samples")
|
||||
install(DIRECTORY "${PROJECT_SOURCE_DIR}/contrib/" DESTINATION "contrib")
|
||||
|
||||
# Copy top level documents (eg README.md)
|
||||
# https://stackoverflow.com/questions/21541707/cpack-embed-text-files
|
||||
@ -113,7 +112,7 @@ set( DOCS
|
||||
README.md
|
||||
README-CONAN.md
|
||||
README-SAMPLES.md
|
||||
license.txt
|
||||
COPYING
|
||||
exiv2.png
|
||||
)
|
||||
foreach(doc ${DOCS})
|
||||
@ -126,6 +125,13 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/build/logs/build.txt)
|
||||
endif()
|
||||
|
||||
# Copy releasenotes.txt and appropriate ReadMe.txt (eg releasenotes/${PACKDIR}/ReadMe.txt)
|
||||
set(VM PROJECT_VERSION_MAJOR) # Version Major 0
|
||||
set(VN PROJECT_VERSION_MINOR) # Version Minor 27
|
||||
set(VD PROJECT_VERSION_PATCH) # Version Dot 3
|
||||
set (VR ".${PROJECT_VERSION_TWEAK}") # Version RC .1
|
||||
if ( (PROJECT_VERSION_TWEAK STREQUAL "0") OR (PROJECT_VERSION_TWEAK STREQUAL "") )
|
||||
set(VR "")
|
||||
endif()
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/releasenotes/${PACKDIR}/ReadMe.txt ReadMe.txt @ONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/releasenotes/releasenotes.txt releasenotes.txt @ONLY)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/ReadMe.txt ${CMAKE_CURRENT_BINARY_DIR}/releasenotes.txt DESTINATION .)
|
||||
|
||||
@ -4,7 +4,7 @@ Structure of the bundle:
|
||||
------------------------
|
||||
|
||||
bin/exiv2.exe exiv2 and sample applications
|
||||
bin/cygexiv2-27.dll DLL
|
||||
bin/cygexiv2-@VM@.dll DLL
|
||||
lib/libexiv2.dll.a & libexiv2-xmp.a link libraries
|
||||
lib/cmake/exiv2 CMake support/consume files
|
||||
lib/pkgconfig/exiv2.pc pkg-config file
|
||||
@ -15,7 +15,7 @@ logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
exiv2.png Exiv2 Logo
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
README-SAMPLES.md Developer Sample Code Manual
|
||||
|
||||
@ -4,7 +4,7 @@ Structure of the bundle
|
||||
-----------------------
|
||||
|
||||
bin/exiv2 exiv2 and sample applications
|
||||
lib/libexiv2.0.27.2.dylib & libexiv2-xmp.a libraries
|
||||
lib/libexiv2.@VM@.@VN@.@VD@.dylib & libexiv2-xmp.a libraries
|
||||
lib/pkgconfig/exiv2.pc pkg-config file
|
||||
lib/cmake/exiv2 CMake support/consume files
|
||||
include/exiv2/ include files
|
||||
@ -15,7 +15,7 @@ logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
exiv2.png Exiv2 Logo
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
README-SAMPLES.md Developer Sample Code Manual
|
||||
|
||||
@ -4,7 +4,7 @@ Structure of the bundle:
|
||||
------------------------
|
||||
|
||||
bin/exiv2 exiv2 and sample applications
|
||||
lib/libexiv2.so.0.27.2.3 & libexiv2-xmp.a libraries
|
||||
lib/libexiv2.so.@VM@.@VN@.@VD@@VR@ & libexiv2-xmp.a libraries
|
||||
lib/pkgconfig/exiv2.pc pkg-config file
|
||||
lib/cmake/exiv2 CMake support/consume files
|
||||
include/exiv2/ include files
|
||||
@ -14,7 +14,7 @@ samples/exifprint.cpp sample code
|
||||
logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
releasenotes.txt Late breaking news
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
|
||||
@ -4,7 +4,7 @@ Structure of the bundle:
|
||||
------------------------
|
||||
|
||||
bin/exiv2.exe exiv2 and sample applications
|
||||
bin/msys-exiv2-27.dll exiv2 dll
|
||||
bin/msys-exiv2-@VM@.dll exiv2 dll
|
||||
lib/libexiv2.dll.a & libexiv2-xmp.a link libraries
|
||||
lib/pkgconfig/exiv2.pc pkg-config file
|
||||
lib/cmake/exiv2 CMake support/consume files
|
||||
@ -16,7 +16,7 @@ logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
exiv2.png Exiv2 Logo
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
README-SAMPLES.md Developer Sample Code Manual
|
||||
|
||||
@ -4,7 +4,7 @@ Structure of the bundle:
|
||||
------------------------
|
||||
|
||||
bin/exiv2 exiv2 and sample applications
|
||||
lib/libexiv2.so.0.27.2 & libexiv2-xmp.a libraries
|
||||
lib/libexiv2.so.@VM@.@VN@.@VD@ & libexiv2-xmp.a libraries
|
||||
lib/pkgconfig/exiv2.pc pkg-config file
|
||||
lib/cmake/exiv2 CMake support/consume files
|
||||
include/exiv2/ include files
|
||||
@ -14,7 +14,7 @@ samples/exifprint.cpp sample code
|
||||
logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
releasenotes.txt Late breaking news
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
|
||||
@ -12,7 +12,7 @@ samples/exifprint.cpp sample code
|
||||
logs build/test log
|
||||
|
||||
ReadMe.txt This file
|
||||
license.txt GPLv2.0 Software License
|
||||
COPYING GPLv2.0 Software License
|
||||
releasenotes.txt Late breaking news
|
||||
README.md Developer Manual
|
||||
README-CONAN.md Developer Manual Appendix
|
||||
|
||||
Loading…
Reference in New Issue
Block a user