I wrote the ExternalProject commands for the VES project while testing on OSX and Linux. I don't develop on Windows, but we do have a developer using Windows on the project and he creates builds using the NMake generator, and he has not had to insert any special case code in the ExternalProject commands. We have toolchain files for iOS and Android. Builds on Windows only the Android toolchain, of course. The Android toolchain file tells cmake to use the make.exe provided by the Android NDK. You can read the Android toolchain file here:
http://code.google.com/p/android-cmake/source/browse/toolchain/android.toolchain.cmake Pat On Wed, Jan 23, 2013 at 2:15 AM, Christopher Lansing <[email protected]>wrote: > Hi Pat, > > How do you manage to deal with situations where the build environment runs > the ExternalProject's configuration via cmake and has environment variables > set that wouldn't have been otherwise (and that you don't want set) - for > example, Visual Studio sets half a dozen new environment variables and > modifies the path before running its build steps. Are you just figuring out > all of the CMake variables and properties that are affected by environment > variables, and presetting them in the cache? Or is there a way to avoid > this that I just haven't managed to find yet? > > I've seen cases where the result of running CMake on a project, and using > the same project as an ExternalProject are rather different - I'll admit > it's largely a guess that it's a difference in the environment variables on > the shell vs through the build environment/tool, but it's the only thing > that seems to make sense. > > Or do you just avoid this by never using the more complex build > environments, sticking to make, and hoping it doesn't do anything strange > to your environment before calling the external project (because I don't > think I've seen this behaviour with make). > > Thanks, > Christopher > > > On Tue, Jan 22, 2013 at 3:26 AM, Pat Marion <[email protected]>wrote: > >> Hi Bill, >> >> We use ExternalProject on the VES project to manage crosscompile builds. >> We use ExternalProject to create builds for the host, Android, iOS-device, >> and iOS-simulator architectures. >> >> Pat >> >> >> >
-- 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
