Commit Graph

4 Commits

Author SHA1 Message Date
Hugues Delorme
c1ae2923da tests: let fake_support have its own CMakeLists.txt file
This should fix compilation errors when -DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
on travis CI.
Currently travis cmake version is v2.8.7 and it does not support
the INCLUDE_DIRECTORIES target property.
2015-09-08 17:57:59 +02:00
Hugues Delorme
36a4fd281e tests: add fake_support
fake_support allows to test compilation of gmio_support
is successful. It provides fake sources of the required
3rd party libraries (Qt and OpenCascade).
Fake sources allows to quickly check if nothing is broken
in gmio_support after API changes.
It will also be useful for CI.
2015-09-02 12:07:17 +02:00
Hugues Delorme
56bb6d8e65 cmake: simplifications
* All options reside in the top-level CMakeLists.txt file
* No need to find gmio library, just add "gmio" as a target dependency
* In tests, link to gmio library instead of recompiling needed source code
2015-09-01 18:20:31 +02:00
Hugues Delorme
a06fdc331d cmake: split main CMakeLists.txt into sub-directory files 2015-08-11 23:57:57 +02:00