On Mon, Jul 26, 2010 at 4:35 PM, Olaf van der Spek <olafvds...@gmail.com> wrote: > On Mon, Jul 26, 2010 at 10:31 PM, John Drescher <dresche...@gmail.com> wrote: >> You do not have multiple copies of the source. You have 1 copy of the >> source that you build in multiple trees. For me I build 32 and 64 bit >> for multiple compilers. They all share the same source tree but have >> different build trees. >> >> For example my source is in >> >> X:\CmakeBased >> >> My builds are in >> >> X:\32bit\vs.71 >> X:\32bit\vs.80 >> X:\32bit\vs.90 >> >> X:\64bit\vs.80 >> X:\64bit\vs.90 >> >> For each build I need to open the appropriate project file in the build tree. > > Isn't it easier to use the command line? > If this is automated, it's not too bad. > Does CMake provide a way to automate this? >
I do a mix of both. Additionally I have my projects generate a batch file in the build tree called Batch\install.bat calling that from a batch file for each dependent project causes all projects to build and install and at the end I get a NSIS installer for the main application. John _______________________________________________ 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