diff options
| -rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 81103f8..7030152 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,3 +282,17 @@ add_custom_target(final COMMENT "Generating assets and performing final assembly (crunching)..." WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) + +# Pack Source Target +add_custom_target(pack_source + COMMAND tar -czf demo_all.tgz + --exclude=.git + --exclude=build* + --exclude=.gemini* + --exclude=*.tgz + --exclude=*.zip + --exclude=.DS_Store + . + COMMENT "Packing entire project source (including submodules) into demo_all.tgz..." + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +) |
