diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-09-02 11:30:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 11:30:57 -0700 |
commit | a692d44ed5ba0107113df54d2654417bc9f9c345 (patch) | |
tree | 6b26f74a13a9892855f700a1a3cae9b3d6c3b380 /cmake/Helpers.cmake | |
parent | 0ee1b1371e7cf50c14883316fdd6374114799a99 (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.cmake | 6 |
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) |