Commit Graph

11 Commits

Author SHA1 Message Date
Heiko Becker
b00405ec77 build: Generate an import target for Jansson and use it 2018-12-22 17:15:07 +01:00
Heiko Becker
1606b0eecc build: Use imported targets for GTest
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.
2018-12-22 17:15:00 +01:00
Benedikt Morbach
2f8bc8a0a8 pass ${SYDBOX_ACTIVE} through test runner
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-19 13:32:49 +01:00
Marvin Schmidt
0ce59984ea build: Install headers generated from .se files
Change-Id: I66a5594bbce99d6fae533f967af767c9cede3457
2016-12-14 08:23:04 -08:00
Heiko Becker
f1cb2cfd49 build: Use the imported target for linking to pthread
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-13 15:09:57 -08:00
Saleem Abdulrasool
75f421209f build: fix Jansson detection 2016-12-12 19:21:18 -08:00
Saleem Abdulrasool
f01d4a0af0 Revert "build: remove unnecessary MD5 usage"
This reverts commit 7b1f8701f5e418d2b11621a703085cbd08079dc7.

Restore the original change.  The uniquing is needed for builds which enable
python and ruby bindings together.
2016-12-07 09:30:00 -08:00
Saleem Abdulrasool
0b8d41cdb9 build: remove some unnecessary ignores in packaging
Remove the autotools filtering in the cpack rules as the autotools build has
been removed.
2016-12-03 19:47:26 -08:00
Saleem Abdulrasool
7b1f8701f5 build: remove unnecessary MD5 usage
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-03 19:36:02 -08:00
Saleem Abdulrasool
e8ff6e6d14 build: explicitly link against threads in gtests
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-12-03 16:33:18 -08:00
Saleem Abdulrasool
a8c9e5d64d build: introduce cmake based build system 2016-11-30 08:25:19 -08:00