Hi,

I have in my repository N projects/packages, that depend on each other.
E.g. project 1 found with find_package( wxDocview ), needs to build first, before i can do project2. I can not generate all at once all cmake binary project files, since the project2, call find_package on project 1.

Still i like to have an overall CmakeLists.txt file.

So i started in that top file with find_package( wxDocview), right after cmake generated the binary stuff for that wxDocview project, on which the second project depends.
If the compiled project is not found i tell the user to first make it.

But when i type make in project 1, it first runs cmake again, and tells me the again that i should first make it.
An that is no good.

Well i don't see how to do i :-(.

Does someone know how to handle such a situation?

Thanks,

Klaas


_______________________________________________
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