| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The C++ standard library as well as the STL are great for providing many of the features one needs to write a code. However, they leave much to be desired. This library is intended to be our "Boost" in that it's a series of extensions to the standard libraries for functionality we commonly want.
At the moment this functionality can be expressed as falling into one of three sub libraries:
Utilities is built using CMaize. Building Utilities can be accomplished by:
git clone https://github.com/NWChemEx/Utilities.git
cd Utilities
cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=<where/you/want/to/install/Utilities> \
-DCMAKE_TOOLCHAIN_FILE=<path/to/toolchain.cmake> # (Optional)
cd build
cmake --build .
#May need to run as an admin depending on where you are installing
cmake --build . --target installAdditional CMake parameters can be passed on the command line or in a toolchain file, as represented in the above example. The unit tests for Utilities can be built by passing -DBUILD_TESTING=ON to the first invocation of CMake, or by adding set(BUILD_TESTING ON) in the toolchain file. Utilities uses the Catch2 framework for testing, and will build it if not already present. If you wish to use an existing installation of Catch2 and it is not being located by CMake configuration, setting Catch2_ROOT to the location of the installation or adding that path to the CMAKE_PREFIX_PATH should resolve the issue.
| Back | FazBrowse Home | New Git URL |