Hello, >From what I read and understood this DEFINE_SYMBOL property should be defined like this (or something like this):
On Windows, as shared library: target_EXPORTS=__declspec(dllexport) On Linux, as shared library: target_EXPORTS=__attribute__((visibility("default"))) So that I can use this symbol like this: class target_EXPORTS ExampleClass {...}; But on my machine (Linux, gcc) while building a shared library, with CMake 2.8.0, I'm getting the error below because CMake is defining this property with -Dtarget_EXPORTS=0: error: expected identifier before numeric constant What am I missing? Kind regards, Hilton _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake