On Dec 22, 2007 4:25 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > > Note, you don't have to do any of the above with add_custom_command. In > principle, you could also do those external builds with execute_process. > The difference, of course, is execute_process runs at CMake time so that > solves the issue we discussed before of wx-config from your build of > wxwidgets not being available at CMake time for the rest of your build.
This will fail. execute_process runs in CMake's environment, not your build environment. Same reason we have to write try_compile and try_run instead of just doing execute_process. Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
