> > See also the "new in 2.8.6" module GenerateExportHeader: > > > http://cmake.org/cmake/help/cmake-2-8-docs.html#module:GenerateExportHeade > r > > cmake --help-module GenerateExportHeader > >
I see the header has this: #ifdef IS_STATIC_BUILD ... #else ... #endif Is there any way to generate this configured header for a static or for a shared build, so one doesn't have to add preprocessor defines to use the header file? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- 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