Hi all

  I have a project that depends on some contrib libraries (SDL png etc..).
If I can't find the dependencies through FindXXX macros
I build them myself (wrote CMakeLists for dependencies) and link to the
project, also setting the include directories(SDL_INCLUDE_DIR in spirit
of FindXXX macros again).

   The problem is, for example; SDL header files resides in the directory
SDL/include/filename.h but the project expects them to be in
  SDL/filename.h as if SDL is installed already.The original makefile deals
with this calling make install on the dependencies beforehand
  then includes them from installation directory. I am guessing this is not
possible with CMake during configuration phase because the makefiles are not
generated
  yet(There is also a MSVC dimension to consider ). I can place the
libraries the way I want via ARCHIVE_OUTPUT_DIRECTORY but have no idea
 how to do that with header files. This seems like a common problem but I am
stumped at the moment

 Any pointers would be greatly appreciated.
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to