Bill Hoffman wrote: > Jesper Eskilson wrote: >> Is there any way for CMake to set environment variables which can be >> picked up in Visual Studio's pre/post-build steps? >> >> I'm working on a system where I've got a couple of studio project >> included via the INCLUDE_EXTERNAL_MSPROJECT(), and I would like to be >> able to refer to things like CMAKE_BINARY_DIR, so that the external >> msprojects can put their output relative to the CMake build dir. >> > > No, this is not possible. CMake is no longer running when the project is > built. I do not think there is a way to set variables in the .sln file > which is where they would have to be set.
I was afraid you might say that. Oh, well, I'll have to think of another solution. -- /Jesper _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
