Hello everyone, i need your help because cmake is show me this message: 

******************************************************************************* 


CMake Error in CDAUtils/src/CMakeLists.txt: 
Target "escmga-siscp-utils" INTERFACE_INCLUDE_DIRECTORIES property contains 
path: 

"/home/luis/TESTING NEW/IniFile/include/SISCP/Utils/INIFile/" 

which is prefixed in the source directory. 

********************************************************************************
 




this is because i'm testing a new method to interchange dependencies between 
projects 

in example: 

I have two projects A and B, B depends of A, but the order to configure in 
CMake is B->A. 

In A i define some include dirs and save them into a variable, then in the 
source CMakeLists.txt 

i used the "target_include_directories" to add to B the includes of A, but in 
this case CMake throw me 

that error..... 




So, how can i fix this, or if there is another way to do this... 




General speaking, These projects are independent and when you compile them 
separately they find the dependencies with "find_package" 

but when i make a Global Cmake to compile them together i set a variable 
"GLOBAL_COMPILING" to tell hem that not find with "find_package". 

VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 
2014. Ver www.uci.cu
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to