Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 698 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 698 Bytes

gqcp-link

Small repository to test if linking the gqcp library to an external executable is possible.

The CMake build step

In order to set up CMake for this project, externally build CMake:

mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH=<GQCP_CMAKE_PREFIX_PATH> -DGQCP_INSTALL_PREFIX=<GQCP_INSTALL_PREFIX>

where <GQCP_CMAKE_PREFIX_PATH> is the CMAKE_PREFIX_PATH that you provided when installing the main library gqcp and <GQCP_INSTALL_PREFIX> is the path where gqcp is installed.

Compiling the target executable

After successfully building the CMake system, use

make test_driver && ./test_driver

and if no errors occur, everything went correctly!