I have the need to have a shared library be created and then this same library be accessed by my executable. I want both to remain in different sibling directories and have one main CMakeList.txt that would call the other two CMakeList.txt (one in the lib dir, one in the exe dir) to build the library and the executable. In addition, I would like my library to be able to be compiled by itself (its own project).

Can someone point me how to do this? I set it up for my program with v2.8 but now this is failing on 3.4.2.

--
Gonzalo Garramuño
[email protected]

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to