summaryrefslogtreecommitdiff
path: root/src/lib/efl/config.h.cmake (follow)
AgeCommit message (Collapse)Author
2017-01-27cmake: add ector.Gustavo Sverzut Barbieri
2017-01-23cmake: major rework of check and pkg-config dependencies.Gustavo Sverzut Barbieri
make FUNC_CHECK(), TYPE_CHECK() and HEADER_CHECK() more general and they can be set to a scope, like "eina", then all symbols are prefixed with that. The scope is created with CHECK_INIT(), and EFL_HEADER_CHECKS_FINALIZE() will finish that. This makes it possible for cmake/config/eina.cmake + cmake/post/eina.cmake to add stuff to the generated file, better than hand edit the template. CHECK_APPEND_DEFINE(name val) is now the base to add symbols to the generated file in the current scope. Then convert cmake/config/eina.cmake to use that and match the autotools values (were a bit off). This exposed enabling valgrind was broken due incorrect pkg-config usage with cmake (it's not obvious), it was using just the libraries, while LDFLAGS are needed to get -L/usr/lib/valgrind. Then also convert to CFLAGS provided by pkg-config and make that automatic for PKG_CONFIG_REQUIRES and PKG_CONFIG_REQUIRES_PRIVATE. Also, eina-mempool modules use valgrind and must use that now that's propagating correctly.
2017-01-23cmake: add eoMarcel Hollerbach
2017-01-23cmake: reduce number of redundant variables set in cmake.Gustavo Sverzut Barbieri
Avoid redundant variables in cmake, whenever they are needed as duplicates, only do that in the template.
2017-01-23build: use CMAKE defined variablesMarcel Hollerbach
2017-01-23build: make eina workingMarcel Hollerbach
This brings in the checks for all the headers and function that are required in eina. With this commit only a few other checks are missing. This is NOT tested on windows or mac os i can just verify that it runs here on a arch linux system.
2017-01-23build: set MODULE_ARCH correctlyMarcel Hollerbach
2017-01-23cmake: improve versioningMarcel Hollerbach
The version defines are now done all the time. and the version pattern does mach the one from autotools. And supports release mode now.
2017-01-23cmake: move PACKAGE defines into a sane placeMarcel Hollerbach
this should support all the vars used in all efl subsystems
2017-01-23CMake: infra to build modules (static, on or off).Gustavo Sverzut Barbieri
2017-01-23CMake: rework to use some helper macros.Gustavo Sverzut Barbieri
This tries to defines some macros to create a cleaner build system.