-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
73 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
#!/bin/sh | ||
|
||
git clone https://github.com/catchorg/Catch2.git | ||
cd Catch2 | ||
git checkout tags/v3.3.0 | ||
cmake -Bbuild -S. -DBUILD_TESTING=OFF | ||
cmake --build build/ --target install --config Debug | ||
cmake --build build/ --target install --config Release | ||
cmake --build build/ --target install --config RelWithDebInfo | ||
cd .. | ||
echo -e "Installing Catch2...\n" | ||
|
||
git clone -b v3.3.0 https://github.com/catchorg/Catch2.git | ||
mkdir Catch2/build | ||
|
||
cmake --version | ||
|
||
BUILD_DIR=$(dirname $(realpath "$0"))/Catch2/build | ||
echo -e "\nThe build directory is ${BUILD_DIR}.\n" | ||
|
||
echo -e "Installing Debug configuration.\n" | ||
cmake -S $BUILD_DIR/.. -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF "$@" | ||
cmake --build $BUILD_DIR --config Debug --parallel | ||
cmake --install $BUILD_DIR --config Debug | ||
|
||
echo -e "Installing RelWithDebInfo configuration.\n" | ||
cmake -S $BUILD_DIR/.. -B $BUILD_DIR -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF "$@" | ||
cmake --build $BUILD_DIR --config RelWithDebInfo --parallel | ||
cmake --install $BUILD_DIR --config RelWithDebInfo | ||
|
||
echo -e "Installing Release configuration.\n" | ||
cmake -S $BUILD_DIR/.. -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF "$@" | ||
cmake --build $BUILD_DIR --config Release --parallel | ||
cmake --install $BUILD_DIR --config Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,4 @@ namespace gapp::math | |
return integral; | ||
} | ||
|
||
} // namespace gapp::math | ||
} // namespace gapp::math |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters