Am Montag, 19. September 2011, 18:58:49 schrieb Martin Kupke:
> Is there a way to setup the toolchain file in a way to work only with a
> C compiler?
> What if no C++ compiler is present (or wanted) for the target HW?
> E.g. we use standard C compiler for different processors on our embedded
> solutions. We need to buy the compiler for C and / or C++, but mostly we
> only develop in C and therewith we don't buy the C++ licence. While
> configuring my build environment with CMake the first time the
> CMakeTestCCompiler and even the CMakeTestCXXCompiler used.
> I wasn't able to suppress the CXX part. Is there any option to do this?

PROJECT(something C)

The default is C CXX, therefore it scans for the C++ compiler, too.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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

Reply via email to