Hi List,
Previously, I posted a question, I will rephrase it here.
I am building a simple project "my_application". I have all source (.c, and
.h files) under "my_application". My CMakeLists.txt file is under
"my_application".
In this project, I need to link to a static library called
"example_library.a".
The way, I generate "example_library.a" is as follows. "example_library.a"
needs some definition from "my_application". In the makefile which is used
to generate "example_library.a" , I add the needed paths to
"my_application". It compiles fine and result is "example_library.a".
After linking to "example_library.a" in CMakeLists.txt, when I run cmake,
it reports an error from linked static library.
~/IMPLEMENTATIONS/PollingServer/ftt-se/src/modules/ftt-core.layer/master/M_Server.h:5:
error: my_types.h: No such file or directory
#include "my_types.h"
^
Please note that "my_types.h" is found under "my_application".
thanks,
Zahid
--
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