Skip to content

Commit

Permalink
Make cmake a multi-line command for readability
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Feb 13, 2025
1 parent 66016d4 commit 4fd5d76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ cd cudaqx
mkdir build && cd build

# Configure your build (adjust as necessary)
~/.local/bin/cmake -G Ninja -S .. -DCUDAQ_INSTALL_DIR=$CUDAQ_INSTALL_PREFIX -DCMAKE_INSTALL_PREFIX=${CUDAQX_INSTALL_PREFIX} -DCUDAQ_DIR=${CUDAQ_INSTALL_PREFIX}/lib/cmake/cudaq -DCMAKE_BUILD_TYPE=Release
~/.local/bin/cmake -G Ninja -S .. \
-DCUDAQ_INSTALL_DIR=$CUDAQ_INSTALL_PREFIX \
-DCMAKE_INSTALL_PREFIX=${CUDAQX_INSTALL_PREFIX} \
-DCUDAQ_DIR=${CUDAQ_INSTALL_PREFIX}/lib/cmake/cudaq \
-DCMAKE_BUILD_TYPE=Release

# Install your build
ninja install
Expand Down

0 comments on commit 4fd5d76

Please sign in to comment.