On Thu, Sep 25, 2008 at 12:12 AM, Eric (Brad) Lemings <[EMAIL PROTECTED]>wrote:
>
> Consider the following:
>
> CMakeLists.txt:
>set (ZERO 0)
>configure_file (
>${CMAKE_SOURCE_DIR}/include/config.h.cmake
>${CMAKE_BINARY_DIR}/include/config.h
>)
>
> ${CMAKE_SOURC
Consider the following:
CMakeLists.txt:
set (ZERO 0)
configure_file (
${CMAKE_SOURCE_DIR}/include/config.h.cmake
${CMAKE_BINARY_DIR}/include/config.h
)
${CMAKE_SOURCE_DIR}/include/config.h.cmake:
#cmakedefine ZERO @ZERO@
When I run cmake, I get the follow