> > Does Cmake have a macro that tests how a compiler
 > > defines inline, such as autoconf's AC_C_INLINE?

I couldn't find one, so I ported AC_C_INLINE to CMake. Since there's no
equivalent of autoheader to make the config.h.in, I just used
ADD_DEFINITIONS.

Should these sort of tests be collected somewhere?

<snip>

Thanks Jack.  Just tested it out, and it seems to work well.

The cmake wiki seems a good place to put this.  I took the
liberty of adding it there.  Hopefully it can be included
in cmake proper some day.

http://www.cmake.org/Wiki/CMake_User_Contributed_Macros

Greg
--
Gregory C. Sharp
Dept. of Radiation Oncology
Massachusetts General Hospital
[EMAIL PROTECTED]  /  617-724-3866
http://gray.mgh.harvard.edu


The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to