Hi everybody, I am currently working on a cmake-buildsystem for a project that exposes a plugin-interface. This plugin-interface also targets make-based buildsystems and therefore I wanted to generate a small makefile-fragment that contains appropriate CFLAGS, LDFLAGS etc. that should be used to compile the plugin.
What is the best to accomplish this task? I tried to gather target and directory properties without too much success (it worked well for include directories but not for COMPILE_DEFINITIONS & Co.). I also stumbled upon INTERFACE_COMPILE_DEFINITIONS but I have no clue how it should be used. Maybe, somebody could point me to some example doing such a thing. The main point would be to harvest compiler flags from CMAKE - using configure_file is not a problem. Thanks in advance! Ciao, Fabian -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
