Re: [CMake] Include header files at run time through cmake

2009-01-28 Thread Maik Beckmann
2009/1/29 ankit jain : > hi all, > i have a c file in a folder which contain the line #include "%h" which says > compile the file with -I option with gcc to tell where %h is located. > but in cmake as i already add the header files by defining the path through > a variable and add it through includ

[CMake] Include header files at run time through cmake

2009-01-28 Thread ankit jain
hi all, i have a c file in a folder which contain the line #include "%h" which says compile the file with -I option with gcc to tell where %h is located. but in cmake as i already add the header files by defining the path through a variable and add it through include_directories command. it still g