[CMake] Really Basic Question
dfeustel at mindspring.com
dfeustel at mindspring.com
Wed Apr 18 19:41:17 EDT 2007
I created a CMakeLists.txt file with the following:
# set a list of items
SET(items_to_buy apple orange pear beer)
# loop over the items
FOREACH (item $(items_to_buy))
MESSAGE( "Don't forget to buy a $(item)" )
ENDFOREACH (item $(items_to_buy))
MESSAGE( $(items_to_buy) )
when I run either ccmake . or cmake, ther is no expansion
of $(items_to_buy). Do I need something else in the file?
Thanks,
Dave Feustel
More information about the CMake
mailing list