CMake: move eina binaries to single dir, add helper macros.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 20 Jan 2017 15:53:56 +0000 (13:53 -0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 23 Jan 2017 17:23:40 +0000 (18:23 +0100)
commitd9815a6837f1e06def0641da285863f87729683f
tree7ff20525c2876382bef6247108f823b0f3c82459
parent3d5abc081f59dda9887dbacc8e8ab24c96d5ee65
CMake: move eina binaries to single dir, add helper macros.

For one-source directories, be smart and just define SOURCES to that,
will reduce the number of too-simplistic CMakeLists.txt in our tree.

This also fixes problems with libraries, they should be private, not
public. So specify both kinds as different variables.
cmake/helpers/EflMacros.cmake
src/Makefile_Eina.am
src/bin/eina/eina_btlog/eina_btlog.c [moved from src/bin/eina/eina_btlog.c with 100% similarity]
src/bin/eina/eina_modinfo/eina_modinfo.c [moved from src/bin/eina/eina_modinfo.c with 100% similarity]
src/lib/eina/CMakeLists.txt