From 0a797de507241e4bc4856d5b3f99bdb70a77e72a Mon Sep 17 00:00:00 2001 From: Antoine Beauchamp Date: Sat, 26 Apr 2025 09:31:20 -0400 Subject: [PATCH 1/2] * Fixed issue #64: Remove build artifacts of samples from installation packages. --- CHANGES | 5 +++++ CMakeLists.txt | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 6e480de..2497e27 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +Changes for x.y.z: + +* Fixed issue #64: Remove build artifacts of samples from installation packages. + + Changes for 3.0.1: * Fixed issue #68: Update to RapidAssist version 0.11.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 74ca0c4..47f91ec 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -228,7 +228,10 @@ endif() # On Windows, installs to "C:\Program Files (x86)\${PROJECT_NAME}" or to "C:\Program Files\${PROJECT_NAME}" for 64 bit binaries install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR}) -install(DIRECTORY ${CMAKE_SOURCE_DIR}/samples DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR}) +install(DIRECTORY ${CMAKE_SOURCE_DIR}/samples DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR} + PATTERN "outdir" EXCLUDE + PATTERN "outdir/*" EXCLUDE +) install(FILES ${CMAKE_SOURCE_DIR}/README.md ${CMAKE_SOURCE_DIR}/CONTRIBUTING.md From 1ab47501148f75b39f69282352f2347e3ba9bfbb Mon Sep 17 00:00:00 2001 From: Antoine Beauchamp Date: Sat, 26 Apr 2025 09:32:36 -0400 Subject: [PATCH 2/2] Bump up to version 3.1.0. --- CHANGES | 2 +- CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 2497e27..3383d2d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -Changes for x.y.z: +Changes for 3.1.0: * Fixed issue #64: Remove build artifacts of samples from installation packages. diff --git a/CMakeLists.txt b/CMakeLists.txt index 47f91ec..2a2d3fa 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,8 +97,8 @@ endif() # Product version according to Semantic Versioning v2.0.0 https://semver.org/ SET(BIN2CPP_VERSION_MAJOR 3) -SET(BIN2CPP_VERSION_MINOR 0) -SET(BIN2CPP_VERSION_PATCH 1) +SET(BIN2CPP_VERSION_MINOR 1) +SET(BIN2CPP_VERSION_PATCH 0) set(BIN2CPP_VERSION ${BIN2CPP_VERSION_MAJOR}.${BIN2CPP_VERSION_MINOR}.${BIN2CPP_VERSION_PATCH}) FILE(WRITE ${CMAKE_BINARY_DIR}/version "${BIN2CPP_VERSION}")