Skip to content

Commit

Permalink
Proper packaging
Browse files Browse the repository at this point in the history
Removed FCIBs and the ghetto dist dir.
Use CPack to package up a DMG on Mac.
  • Loading branch information
mikemag committed Sep 7, 2014
1 parent 0813e47 commit b79de4f
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 579 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ cli/MonkeyCAM
test/test
util/MonkeyCAMConfig.h
install_manifest.txt
CPackConfig.cmake
CPackSourceConfig.cmake
_CPack_Packages
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@ install(FILES "${PROJECT_BINARY_DIR}/README.md" DESTINATION .)
install(FILES "${PROJECT_BINARY_DIR}/grid.svg" DESTINATION .)
install(FILES "${PROJECT_BINARY_DIR}/board-def.json" DESTINATION example)
install(FILES "${PROJECT_BINARY_DIR}/machine-tool-def.json" DESTINATION example)

set(CPACK_GENERATOR "DragNDrop")
set(CPACK_PACKAGE_VERSION_MAJOR "${MonkeyCAM_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${MonkeyCAM_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${MonkeyCAM_VERSION_PATCH}")
set(CPACK_PACKAGE_VERSION_ID "${MonkeyCAM_VERSION_ID}")
set(CPACK_DMG_FORMAT "UDZO")
set(CPACK_DMG_VOLUME_NAME "MonkeyCAM-${MonkeyCAM_VERSION}")
set(CPACK_PACKAGE_FILE_NAME "MonkeyCAM-${MonkeyCAM_VERSION}")
include(CPack)
191 changes: 0 additions & 191 deletions Dist-4.0.1-77afefe/LICENSE

This file was deleted.

Binary file removed Dist-4.0.1-77afefe/MonkeyCAM-4.0.1-77afefe.dmg
Binary file not shown.
137 changes: 0 additions & 137 deletions Dist-4.0.1-77afefe/README.md

This file was deleted.

Binary file removed Dist-4.0.1-77afefe/bin/MacOS/MonkeyCAM
Binary file not shown.
Loading

0 comments on commit b79de4f

Please sign in to comment.