CMake Migration

Moved the build system over to CMake. This build system right now
replicates the same functionality as our bash scripts from earlier. Will
need a lot of refactoring to be more complete, but for now we are fully
on CMake.
This commit is contained in:
2024-02-04 19:13:13 -05:00
parent 9854118958
commit cfe045acc3
6 changed files with 12 additions and 79 deletions

View File

@@ -1,15 +0,0 @@
#!/bin/bash
#Build script for test_stuff
set echo on
# Get a list of all the .c files.
cFilenames=$(find . -type f -name "*.c")
assembly="test_stuff"
compilerFlags="-g -fpic"
includeFlags="-Isrc -I../quantum/src/"
linkerFlags="-L../bin/ -lquantum -Wl,-rpath,."
echo "Building $assembly..."
gcc $cFilenames $compilerFlags -o ../bin/$assembly $includeFlags $linkerFlags