Olumide wrote: > 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?
Sure: cmake -D EO_SOURCE_DIR=/foo/bar/baz /path/to/sources Eike --
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