Re: [CMake] header files/build orgainization with cmake

2014-06-19 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2014 02:04 PM, Marcel Loose wrote: Hi Majo, We have a similar situation. I assume you want to use lib1 in proj2 at build time, without doing a separate install. The way I solved this involves symbolic links, which AFAIK only work on

[CMake] header files/build orgainization with cmake

2014-06-17 Thread majo huber
Hi @all, I have a question regarding the organization of the header files of libraries. I have a meta project with following structure: metaproj1/ |-- CMakeLists.txt |-- lib1/ |-- include/ | | | `-- lib1.h | |-- CMakeLists.txt | `-- lib1.c `-- proj2/ |-- CMakeLists.txt

Re: [CMake] header files/build orgainization with cmake

2014-06-17 Thread Marcel Loose
Hi Majo, We have a similar situation. I assume you want to use lib1 in proj2 at build time, without doing a separate install. The way I solved this involves symbolic links, which AFAIK only work on Unix-like systems. We have an include directory inside the build directory that is populated with