Re: [CMake] Using the -C option to cmake

2012-06-29 Thread Ateljevich, Eli
david.c...@kitware.com] Sent: Friday, June 29, 2012 6:27 AM To: Christian Arnault Cc: cmake@cmake.org Subject: Re: [CMake] Using the -C option to cmake The documentation for the CMake -C command line option says: "When cmake is first run in an empty build tree, it creates a CMakeCache.txt fi

Re: [CMake] Using the -C option to cmake

2012-06-29 Thread Andreas Pakulat
Hi, On Fri, Jun 29, 2012 at 2:44 PM, Christian Arnault wrote: > Hi, > > I wanted to factor out some initial stuff of my CMakeLists.txt that I > systematically include. > > typically I include the following lines at the beginning of all my > CMakeLists.txt: > > cmake_minimum_required(VERSION 2.8)

Re: [CMake] Using the -C option to cmake

2012-06-29 Thread David Cole
The documentation for the CMake -C command line option says: "When cmake is first run in an empty build tree, it creates a CMakeCache.txt file and populates it with customizable settings for the project. This option may be used to specify a file from which to load cache entries before the first pa

[CMake] Using the -C option to cmake

2012-06-29 Thread Christian Arnault
Hi, I wanted to factor out some initial stuff of my CMakeLists.txt that I systematically include. typically I include the following lines at the beginning of all my CMakeLists.txt: cmake_minimum_required(VERSION 2.8) function (AA) message ("calling AA") endfunction() AA() Then I thought