Skip to content

Commit 5a2183e

Browse files
authored
Merge pull request #50 from pdebuyl/cmake_out_of_source
set the cmake build to out-of-source
2 parents 985ea13 + c9b4d8d commit 5a2183e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
run: brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
5353

5454
- name: Configure with CMake
55-
run: cmake -Wdev -S . -B . # We should build out of source but loadtxt needs fixing
55+
run: cmake -Wdev -S . -B build
5656

5757
- name: Build and compile
58-
run: cmake --build . || cmake --build . --verbose --parallel 1
58+
run: cmake --build build || cmake --build build --verbose --parallel 1
5959

6060
- name: test
61-
run: cmake --build . --target test
61+
run: cmake --build build --target test

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@
3030
*.exe
3131
*.out
3232
*.app
33+
34+
# Build directory for out-of-tree builds
35+
/build

0 commit comments

Comments
 (0)