User Tools

Site Tools


cmake

CMake is a cross-platform, open-source system for managing and automating the build process of software using a compiler-independent method.

Pitfalls

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_Converter_COMPILER_ENV_VAR
   Called from: [1]	/bla/project/CMakeLists.txt
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_Somethingsomething_COMPILER

When writing a CMakeLists.txt file make sure to NOT put any spaces in your projectname. Everything after the first space is interpreted as language to e enabled for the project (see doc for details).

Right:

PROJECT(WorldDomination)

WRONG

PROJECT(World Domination)
cmake.txt · Last modified: 2012/04/10 14:09 by mantis