I woudl rather have it discover it for the appropriate version of visual studio I select as a generator, I have already copied the findprogram code from the script and put it at the head of a couple of the scripts, but this doesn't fix that the outer layer is still being built with devenv. I don't really want to build a find_program function for batch files
On Fri, Jun 8, 2012 at 9:37 AM, Pau Garcia i Quiles <pgqui...@elpauer.org> wrote: > On Fri, Jun 8, 2012 at 6:26 PM, Óscar Fuentes <o...@wanadoo.es> wrote: >> J Decker <d3c...@gmail.com> writes: >> >>> I mean using cmake --build . and/or getting BUILD_COMMAND from cmake >>> which comes back as devenv which is then used to build projects. >>> >>> I had a bunch of cmake projects that built from a batch file, then I >>> made a cmakelists that does the same thing, so I have one >>> cmakelists.txt which builds all other top level cmakelists. >> >> cmake -DCMAKE_MAKE_PROGRAM=msbuild . >> >> ? > > Sometimes that will fail due to the different way msbuild and devenv > compute project dependencies. > > -- > Pau Garcia i Quiles > http://www.elpauer.org > (Due to my workload, I may need 10 days to answer) > -- > > 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers