# Integrating the MQSS Quantum Compilation Suite within your project One can integrate MQSS-Quantum Compilation Suite into their project as a cmake module using the following entry: ```cmake include(ExternalProject) set(MQSSCI_INSTALL_DIR ${CMAKE_BINARY_DIR}/_deps/mqssci-build) ExternalProject_Add(mqssci GIT_REPOSITORY https://github.com/Munich-Quantum-Software-Stack/MQSS-Quantum-Compilation-Suite.git GIT_TAG PREFIX ${CMAKE_BINARY_DIR}/_deps/mqssci-build SOURCE_DIR ${CMAKE_BINARY_DIR}/_deps/mqssci-src BINARY_DIR ${CMAKE_BINARY_DIR}/_deps/mqssci-src # in-source make, adjust if out-of-source supported CONFIGURE_COMMAND "" # no configure step needed for plain make BUILD_COMMAND bash -c "make build" INSTALL_COMMAND make target # BUILD_IN_SOURCE TRUE # set if module-Y's Makefile expects to run from its source root ) set(MQSSCI_SRC_DIR ${CMAKE_BINARY_DIR}/_deps/mqssci-src) ``` Then within the appropriate `CMakeLists.txt`: ```cmake find_package(MQSSCI REQUIRED). # If the name of file is FindMQSSCI.cmake ```