Skip to content

Commit 5b0d805

Browse files
authored
Merge pull request #70 from end2endzone/feature-issue64
Feature issue64 - Remove build artifacts of samples from installation packages.
2 parents 7e211e2 + 1ab4750 commit 5b0d805

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Changes for 3.1.0:
2+
3+
* Fixed issue #64: Remove build artifacts of samples from installation packages.
4+
5+
16
Changes for 3.0.1:
27

38
* Fixed issue #68: Update to RapidAssist version 0.11.0

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ endif()
9797

9898
# Product version according to Semantic Versioning v2.0.0 https://semver.org/
9999
SET(BIN2CPP_VERSION_MAJOR 3)
100-
SET(BIN2CPP_VERSION_MINOR 0)
101-
SET(BIN2CPP_VERSION_PATCH 1)
100+
SET(BIN2CPP_VERSION_MINOR 1)
101+
SET(BIN2CPP_VERSION_PATCH 0)
102102
set(BIN2CPP_VERSION ${BIN2CPP_VERSION_MAJOR}.${BIN2CPP_VERSION_MINOR}.${BIN2CPP_VERSION_PATCH})
103103
FILE(WRITE ${CMAKE_BINARY_DIR}/version "${BIN2CPP_VERSION}")
104104

@@ -228,7 +228,10 @@ endif()
228228
# On Windows, installs to "C:\Program Files (x86)\${PROJECT_NAME}" or to "C:\Program Files\${PROJECT_NAME}" for 64 bit binaries
229229

230230
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR})
231-
install(DIRECTORY ${CMAKE_SOURCE_DIR}/samples DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR})
231+
install(DIRECTORY ${CMAKE_SOURCE_DIR}/samples DESTINATION ${BIN2CPP_INSTALL_ROOT_DIR}
232+
PATTERN "outdir" EXCLUDE
233+
PATTERN "outdir/*" EXCLUDE
234+
)
232235

233236
install(FILES ${CMAKE_SOURCE_DIR}/README.md
234237
${CMAKE_SOURCE_DIR}/CONTRIBUTING.md

0 commit comments

Comments
 (0)