Hi all, what I read is that I have to adjust CMAKE_MODULE_PATH so that include or find_packages can work.
My problem is that I don't want to use environment variables to tell where the root of all sources is: set(CMAKE_MODULE_PATH ${ CMAKE_MODULE_PATH } ${SRCROOT}) But I really don't like the idea. Now assume /src, /src/libs, /src/apps are some paths of the source tree. In /obj I could do one of the following: - cmake /src rebuild all. - cmake /src/libs rebuild all libs. - cmake /src/apps rebuild all apps. - cmake /src/apps/concreteapp1 rebuild one app only. For each scenario I want to ensure that I can find/include a module. Is this possible? Kind Regards Thomas Thomas Lehmann Scrum Master [cid:rts-logo.png@302c55e3a904430bbf60a70f8dc2ba7f] RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Gesch?ftsf?hrer: Steffen Gemuenden, Igor Sluga www.rtsgroup.net This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system.
<<inline: rts-logo.png>>
_______________________________________________ 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