2009/2/28 Aaron Turner <synfina...@gmail.com>:
>
> So is there a clean way to pass the current Cmake config variables to
> a new cmake process via execute_process()?  Or do I need to create a
> template file and use configure_file() to do that?  Basically, your
> above example doesn't work for me because things like
> ${CPACK_SOURCE_PACKAGE_FILE_NAME} are undefined.

Sorry my example was incomplete (too fast writing).

You may "simply "

include(CPackSourceConfig.cmake)

it is in the PackageSnapshot.cmake I've attached previously.


-- 
Erk
_______________________________________________
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