🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.2 KiB

5 years ago
  1. # Antkeeper Superbuild
  2. ## Download
  3. Use Git to download the `antkeeper-superbuild` repository and all of its submodules:
  4. git clone --recursive git@cjhoward.org:antkeeper-superbuild.git
  5. ## Configuration & Building
  6. CMake is required to configure and build the application. Depending on the target build platform, CMake should be invoked from one of the following directories:
  7. build/linux32 // 32-bit GNU/Linux application
  8. build/linux64 // 64-bit GNU/Linux application
  9. build/win32 // 32-bit Windows application
  10. build/win64 // 64-bit Windows application
  11. The following arguments may be passed to CMake during configuration:
  12. -DCMAKE_BUILD_TYPE // [Debug, Release]
  13. ### GNU/Linux
  14. Building on GNU/Linux requires CMake, GCC, G++, and GNU Make. Open a terminal in the project root directory and run the following commands:
  15. cd build/linux64
  16. cmake ../.. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=...
  17. cmake --build .
  18. ### Windows
  19. Building on Windows requires CMake and Visual Studio 2017. Additionally, [NSIS](http://nsis.sourceforge.net/) is required if you want to build a distributable installer program. In order to correctly build for your target architecture, you must use the `x86 Native Tools Command Prompt` or the `x64 Native Tools Command Prompt` for 32-bit and 64-bit applications, respectively. Then navigate to the project root directory and run the following commands:
  20. cd build\win64
  21. cmake ..\.. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=...
  22. cmake --build .
  23. ## Testing
  24. After building, a standalone version of the application will be located somewhere in the `bin` directory according to the build type, build platform, and version string. This application can be executed with the following command:
  25. cmake --build . --target run
  26. ## Distribution
  27. The built application can be packaged into a distributable format with the following command:
  28. cmake --build . --target dist
  29. The resulting package will be located in the `dist` directory.
  30. ## Contributing
  31. If any changes have been made to the submodules, commit those first. Each submodule can then be updated to their latest commits with the following command:
  32. git submodule update --recursive --remote
  33. ## License
  34. Antkeeper is made available under the MIT license. See [`LICENSE.md`](./LICENSE.md) for details.