summaryrefslogtreecommitdiff
path: root/cmake/CompilerUtils.cmake
Commit message (Collapse)AuthorAgeFilesLines
* build: Set CMAKE_REQUIRED_FLAGS in CompilerUtilsSander Vrijders2017-11-141-0/+1
| | | | | | | | | This sets the cmake variable CMAKE_REQUIRED_FLAGS to the compiler flags that are being tested so that the linker doesn't fail when trying the compile flag. Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be> Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
* build: Change compiler check output and update wrapSander Vrijders2017-04-071-3/+0
| | | | | | This removes some of the log messages spewed out during a check of a compiler flag. It also makes the SWIG compiler flag for C99 independent of the compiler.
* build: Format CMakeLists.txt filesSander Vrijders2017-03-031-1/+1
| | | | The CMakeLists files are now properly indented.
* build: Require usage of C89Sander Vrijders2016-02-231-5/+5
| | | | | | This requires the usage of the C89 standard for all source files. It also fixes a wrong check for the compiler flags (was checking this for CXX compiler instead of the C compiler).
* Initial build infrastructureSander Vrijders2016-02-111-0/+15
Contains the initial build infrastructure. Cmake was chosen for portability reasons.