Hi,

I am using CMake to build a solution consisting of several projects (using
Visual Studio lingo here) where some of them are libraries, some
executables. Some executables can run only on the OS (i.e. OSX and Windows)
and will not work correctly on iOS.

We have one such executable that manipulates a version file in the
repository each time there is a build. This executable must be part of the
same XCode project, otherwise it will not run. I am aware that I can
separate this out into a new project and have CMake run the file but that
requires more maintainance (as the user now has to not only create/build
the main project via CMake but also the above mentioned project).

In CMake for iOS builds, I set CMAKE_OSX_SYSROOT in the root CMakeLists.txt
file to iphoneos. It turns out I cannot change it again (for the above
mentioned project). XCode is capable of allowing targets to be a mixture of
iOS and OSX. Is that possible with CMake?

Thanks,
Saad
--

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

Reply via email to