Re: [CMake] How to include the generated header file?

2012-03-01 Thread Tan, Tom (Shanghai)
HostlinkPP_EXPORT __declspec(dllimport)/* We are using this library */ #endif -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Wild Sent: Thursday, March 01, 2012 3:33 PM To: cmake@cmake.org Subject: Re: [CMake] How to include

Re: [CMake] How to include the generated header file?

2012-02-29 Thread Michael Wild
On 03/01/2012 07:21 AM, Tan, Tom (Shanghai) wrote: According to the doc, generate_export_header(somelib) generates a file in the ${CMAKE_CURRENT_BUILD_DIR} called somelib_export.h. What's the recommended way to include this somelib_export.h. #include somelib_export.h does not work. And