]> Creatis software - crea.git/blob - samples/creaSample_preprocessor/main.cxx
Initial revision
[crea.git] / samples / creaSample_preprocessor / main.cxx
1 #include <creaSystem.h>
2
3 int main(int argc, char* argv[])
4 {       
5  std::cout << "** creaSample_preprocessor : begin of main "<<std::endl;
6
7 #if defined (DEF1)
8  std::cout << "* DEF1 is defined "<<std::endl;
9  std::cout << "  Value = [" << CREA_STRINGIFY_SYMBOL(DEF1) << "]" << std::endl;
10 #endif 
11
12 #if defined (DEF2)
13   std::cout << "* DEF2 is defined "<<std::endl;
14   std::cout << "  Value = [" << CREA_STRINGIFY_SYMBOL(DEF2) << "]" << std::endl;
15 #endif
16
17 #if defined (DEF3)
18   std::cout << "* DEF3 is defined "<<std::endl;
19   std::cout << "  Value = [" << CREA_STRINGIFY_SYMBOL(DEF3) << "]" << std::endl;
20 #endif
21
22
23         
24  std::cout << "** creaSample_preprocessor : end of main "<<std::endl;
25 }