summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* build: Deprecate version generation from git tag0.10.1Dimitri Staessens2018-02-231-47/+0
| | | | | | | | | | This deprecates the version generation from git tags. The version is now set in the CMakeLists.txt. This avoids wrong versions when checking out old commits and building the repository inside another repository. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
* build: Add sort command to GitVersionGen0.9.10Sander Vrijders2018-02-131-0/+7
| | | | | | | | This adds the sort command with the version sort to GitVersionGen so the latest version is used when running cmake. Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be> Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
* build: Add patchlevel to versionDimitri Staessens2018-01-101-2/+6
| | | | | | | This adds a patchlevel to the Ouroboros version. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
* 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: Simplify GitVersionGenSander Vrijders2017-08-101-7/+0
| | | | | This simplifies the macro GitVersionGen so that it doesn't need to rely on the sort executable.
* 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-035-56/+54
| | | | The CMakeLists files are now properly indented.
* lib, ipcp: Compile on Apple junkdimitri staessens2016-08-301-1/+1
| | | | | | Disables robust mutexes and clock attributes for condition variables for compatibility with OSX (SUSv2). Implements clock_gettime and adds some defines for OSX compatibility in time_utils.
* build: Fix wrong inclusionSander Vrijders2016-07-261-0/+2
| | | | | | The protobuf include directory was not being correctly handed to the compiler when building. Now the include directory is added project-wide. And the protobuf package is searched for only once.
* lib: Update irm.h APISander Vrijders2016-03-281-2/+2
| | | | | | Removes rina_name_t from that API. Passing ap_name and api_id as params instead. The IRM tool has been updated accordingly. Some errors in the build related to protobuf-c have also been resolved.
* build: Add protobuf-c commands for cmakeSander Vrijders2016-03-251-0/+72
| | | | | | This adds a cmake file so that the build can ask to generate protobuf-c files from .proto files. The messages between the IRM and the library are compiled into the library.
* 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-114-0/+98
Contains the initial build infrastructure. Cmake was chosen for portability reasons.