summaryrefslogtreecommitdiff
path: root/cmake/Helpers.cmake
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-09-02 11:30:57 -0700
committerGitHub <noreply@github.com>2020-09-02 11:30:57 -0700
commita692d44ed5ba0107113df54d2654417bc9f9c345 (patch)
tree6b26f74a13a9892855f700a1a3cae9b3d6c3b380 /cmake/Helpers.cmake
parent0ee1b1371e7cf50c14883316fdd6374114799a99 (diff)
Use SMT-COMP configuration for competition build (#4995)
This commit changes our `competition` build to include the libraries that we have used for SMT-COMP by default. This makes it easier for users to reproduce our SMT-COMP configuration for performance measurements. We are using GPL libraries for this build type, so the commit adds color to highlight the fact that this build type produces a GPL build.
Diffstat (limited to 'cmake/Helpers.cmake')
-rw-r--r--cmake/Helpers.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/Helpers.cmake b/cmake/Helpers.cmake
index 692e32900..79c8f7bf2 100644
--- a/cmake/Helpers.cmake
+++ b/cmake/Helpers.cmake
@@ -1,6 +1,12 @@
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
+if(NOT WIN32)
+ string(ASCII 27 Esc)
+ set(Yellow "${Esc}[33m")
+ set(ResetColor "${Esc}[m")
+endif()
+
# Add a C flag to the global list of C flags.
macro(add_c_flag flag)
if(CMAKE_C_FLAGS)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback