-
-
Notifications
You must be signed in to change notification settings - Fork 155
Setup
Matthew Albrecht edited this page May 23, 2019
·
3 revisions
You will first need a Git client installed, then you can navigate to the folder where you want Acid to be cloned and run this console command:
git clone https://github.com/Equilibrium-Games/Acid.git
Acid can be built with many CMake options for your various platforms and needs, here are a few of the more important ones:
- BUILD_TESTS=ON
- ACID_INSTALL_EXAMPLES=ON
- ACID_INSTALL_RESOURCES=ON
If you installed Acid using only system libs, then find_package(Acid)
will work from CMake. Versioning is also supported.
When using find_package(Acid)
the imported target Acid::Acid will be created.
The ACID_RESOURCES_DIR
variable will also be available, which will point to the on-disk location of Acid/Resources
(if installed).