Oops.. Nice Catch.
I am going to hazard a guess and say that "Make" is running a new
cmake instance with the install.cmake as its target script to run.
This script will have NOTHING to do with the CMakeLists.txt file and
therefor will have no idea about variables that are defined in the
o
James C. Sutherland wrote:
On Oct 2, 2009, at 8:20 AM,
wrote:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--test=${TE
On Oct 2, 2009, at 8:20 AM,
wrote:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--test=${TESTVAR} --prefix=$
{CMAKE_I
where is TESTVAR ever set?
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Oct 2, 2009, at 10:20 AM, merean..
Hi!
I have a question regarding cmake-scripts:
I have this simple example:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--