path: root/cmake
AgeCommit message (Collapse)AuthorLines
2018-12-22build: Generate an import target for Jansson and use itAvatar Heiko Becker -0/+8
2018-12-22build: Use imported targets for GTestAvatar Heiko Becker -5/+2
Raises the cmake requirement to 3.5.0 (released in March 2016) but we don't need to manually mess with INCLUDE_DIRS and linking to a thread library anymore.
2016-12-19pass ${SYDBOX_ACTIVE} through test runnerAvatar Benedikt Morbach -0/+1
fixes tests under sydbox escaped to make it take the value when the test is being run not when the command is generated Change-Id: I86d7b8a4d4e142dc3ef912b09aaa52c96b1d8a50
2016-12-14build: Install headers generated from .se filesAvatar Marvin Schmidt -3/+18
Change-Id: I66a5594bbce99d6fae533f967af767c9cede3457
2016-12-13build: Use the imported target for linking to pthreadAvatar Heiko Becker -1/+1
Our required cmake version is new enough (>=3.1) and usage of the imported target is recommended by cmake's documentation [1]. Furthermore, according to the docs THREADS_PREFER_PTHREAD_FLAG can only be used with the imported target. [1] https://cmake.org/cmake/help/v3.7/module/FindThreads.html
2016-12-12build: fix Jansson detectionAvatar Saleem Abdulrasool -4/+3
2016-12-07Revert "build: remove unnecessary MD5 usage"Avatar Saleem Abdulrasool -5/+10
This reverts commit 7b1f8701f5e418d2b11621a703085cbd08079dc7. Restore the original change. The uniquing is needed for builds which enable python and ruby bindings together.
2016-12-03build: remove some unnecessary ignores in packagingAvatar Saleem Abdulrasool -11/+0
Remove the autotools filtering in the cpack rules as the autotools build has been removed.
2016-12-03build: remove unnecessary MD5 usageAvatar Saleem Abdulrasool -10/+5
Don't add a uniquing hash into the target, they are already unique based on the file name being generated. If we ever end up with the same file name being used in multiple directories, we can re-introduce the MD5 nonce. This should speed up the generation a slight bit.
2016-12-03build: explicitly link against threads in gtestsAvatar Saleem Abdulrasool -0/+1
In the case the googletest library is built static and was built with threading, the library may have an implicit dependency which is unrecorded. Add an explicit link against the threading library. The slight overlinkage is inconsequential as it is for tests only.
2016-11-30build: introduce cmake based build systemAvatar Saleem Abdulrasool -0/+727