[CMake] multiple directories in one variable

2011-02-11 Thread Ilja Golshtein
Hello! I use a product which (depending on installation type) can keep headers in several directories. What is the best way to specify these directories? Do I have better option than variables EXTERNAL_PRODUCT_INCLUDE_1 EXTERNAL_PRODUCT_INCLUDE_2 ... listed as

Re: [CMake] multiple directories in one variable

2011-02-11 Thread John Drescher
On Fri, Feb 11, 2011 at 9:16 AM, Ilja Golshtein ilej...@narod.ru wrote: Hello! I use a product which (depending on installation type) can keep headers in several directories. What is the best way to specify these directories? Do I have better option than variables

Re: [CMake] multiple directories in one variable

2011-02-11 Thread John Drescher
it is what I want. But how? How can I put all the directories in EXTERNAL_PRODUCT_INCLUDES from cmake command line? I do not know. Sorry. I did not see that you were trying to add these via the command line. I never use that mode of cmake. John

Re: [CMake] multiple directories in one variable

2011-02-11 Thread David Cole
On Fri, Feb 11, 2011 at 10:29 AM, John Drescher dresche...@gmail.comwrote: it is what I want. But how? How can I put all the directories in EXTERNAL_PRODUCT_INCLUDES from cmake command line? I do not know. Sorry. I did not see that you were trying to add these via the command line.

Re: [CMake] multiple directories in one variable

2011-02-11 Thread Ilja Golshtein
David,thank you so much!It does work!11.02.2011, 18:37, "David Cole" david.c...@kitware.com:On Fri, Feb 11, 2011 at 10:29 AM, John Drescher dresche...@gmail.com wrote: it is what I want. But how? How can I "put all the directories in EXTERNAL_PRODUCT_INCLUDES" from cmake command line? I do not