File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set(PROJECT_SOURCE 32blox.cpp AssetFactory.cpp Ball.cpp Level.cpp HighScore.cpp
7
7
OutputManager.cpp PowerUp.cpp MenuState.cpp
8
8
daft_freak_wav.cpp
9
9
SplashState.cpp GameState.cpp DeathState.cpp HiscoreState.cpp )
10
- set (DISTRIBS README.md LICENSE )
10
+ set (PROJECT_DISTRIBS README.md LICENSE )
11
11
12
12
# Build configuration; approach this with caution!
13
13
if (MSVC )
@@ -24,4 +24,10 @@ blit_executable (${PROJECT_NAME} ${PROJECT_SOURCE})
24
24
blit_assets_yaml (${PROJECT_NAME} assets.yml )
25
25
blit_metadata (${PROJECT_NAME} metadata.yml )
26
26
add_custom_target (flash DEPENDS ${PROJECT_NAME} .flash )
27
+
28
+ # setup release packages
29
+ install (FILES ${PROJECT_DISTRIBS} DESTINATION . )
30
+ set (CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF )
31
+ set (CPACK_GENERATOR "ZIP" "TGZ" )
32
+ include (CPack )
27
33
# End of CMakeList.txt
You can’t perform that action at this time.
0 commit comments