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

2012-03-01 Thread Tan, Tom (Shanghai)
the generated header file? 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

[CMake] How to include the generated header file?

2012-02-29 Thread Tan, Tom (Shanghai)
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 ${CMAKE_CURRENT_BUILD_DIR} is empty too. I am using