On Mon, Jul 18, 2011 at 3:51 PM, Kevyn-Alexandre Paré <[email protected]> wrote: > Hi, > > Is it possible to call or include CMakeCache from another CMakeCache? > > I want to replace my 2 CMakeCache to one. > > ex: > > cmake -C Config-Generic.txt Config-Project.txt ../ > > Any idea if it's possible to include the Config-Generic.txt inside the > Config-Project.txt? > > Best Regards, > > Kevyn-Alexandre Paré > > > _______________________________________________ > 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 >
Ii don't think this really sounds like a wise idea... What is it you're trying to accomplish? If you have two CMakeCache files, then you have two separate projects, and you've run CMake on each of them to get the two CMakeCache files. So why do you want to combine them into one? If you only want one project, then why not simply merge the two CMakeLists files together into one project? Let us know what you're trying to achieve, maybe there's a better supported way to do it. Combining multiple CMakeCache files is not something that the CMake dev team expects you to do... Trying to do so will very likely lead to weird, inexplicable issues..... HTH, David _______________________________________________ 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
