Skip to content

Commit 0a797de

Browse files
committed
* Fixed issue #64: Remove build artifacts of samples from installation packages.
1 parent 7e211e2 commit 0a797de

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Changes for x.y.z:
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)