Hello, I'm trying to write a cmake file for an older project of mine, which consists of a library (mostly C++) and a few test cases one of which is a C programme to test the library's functionality exported to C. I'd like to use a single cmake file, but am getting link error on the C app, most likely because it should be linked by the C++ linker (or at least with -X c++).
How do I instruct cmake to do this? Thanks, R. -- 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://public.kitware.com/mailman/listinfo/cmake