Skip to content

Commit

Permalink
Added bash scripts to compile using debug or production flags in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Michael Blevins committed Oct 20, 2023
1 parent 327096b commit b2264c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
!version.txt
!src/**.f90
!ctem/**.py
!cmake/Modules/*.cmake
!cmake/Modules/*.cmake
!*.bash
2 changes: 2 additions & 0 deletions compile_debug.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build
2 changes: 2 additions & 0 deletions compile_production.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cmake -B build -S .
cmake --build build

0 comments on commit b2264c6

Please sign in to comment.