Destral is pure C code, but cmake won't work if a C++ compiler is not installed.
cmake output:
--------8<----------------------------------
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
--------8<----------------------------------
Fix:
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2008-01-26 14:37:17 +0000
+++ CMakeLists.txt 2008-01-28 20:47:03 +0000
@@ -1,4 +1,4 @@
-PROJECT(destral)
+PROJECT(destral C)
ADD_EXECUTABLE(destral destral.c scalpel.c)
Or, install a C++ compiler... ;-)
Saludos :-)