[CMake] Setting the argument of INCLUDE_DIRECTORIES from the command line

Olumide 50295 at web.de
Sat Oct 20 09:13:36 EDT 2012


Hi -

The CMakeLists.txt file of the project that I am trying to build has the 
following

INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src)
INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/ga)
INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/utils)

Is it possible to set ${EO_SOURCE_DIR} from the command line, when 
running cmake?

- OLumide


More information about the CMake mailing list