|
123456789101112131415 |
- #!/usr/bin/env sh
-
- if [ "$BUILD_TYPE" = "" ]
- then
- echo "No build type specified. Try Debug or Release."
- exit
- fi
-
- if [ "$EXECUTABLE" = "" ]
- then
- echo "No executable specified. Refer to CMakeLists.txt for available executables to build."
- exit
- fi
-
- cmake --build "./build/$BUILD_TYPE" -t "$EXECUTABLE"
|