On 2007-04-18 23:41- [EMAIL PROTECTED] wrote:
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 $(ite
Try curly braces {} instead of parentheses ()
:-)
David
On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
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))
M
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 ei