Alexandru Ciobanu wrote:
Hi!

I am posting the workaround I have found.

Using the following command:
   set_target_properties ( mytgt PROPERTIES LINK_FLAGS DEFINE_SYMBOL "" )

I get:
  icpc ...FLAGS... -create-pch my.pchi        ( create )
  icpc -D ...FLAGS... -use-pch my.pchi        ( use )
which is ok with the intel compiler.

The -D seems to not bother it.

Alex Ciobanu
Seems like it would be easier to add the -D to the create step....

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to