From: Larry Evans (cppljevans_at_[hidden])
Date: 2008-05-26 09:52:55
On 05/25/08 15:45, Larry Evans wrote:
> On 05/25/08 13:15, Maik Beckmann wrote:
> Thanks. That prompted me to look further and I realized I should
> ccmake ../../src
> instead. Now it's working.
says the following under the bolded CMakeCache.txt title:
<--- cut here ---
The same information is stored in a file CMakeCache.txt located in the
build directory. For this reason, after you've done the initial
configuration of a build directory you can invoke ccmake like this:
or have the makefiles do it for you:
The CMakeLists.txt file is hand-editable, though this is usually not
as convenient as the cmake-supplied configuration tools mentioned
above. An excerpt of this file:
// Enable/Disable color output during build.
// Use versioned library names, e.g., boost_filesystem-gcc41-1_34
>--- cut here ---
The CMakeCache.txt title indicates the filename is
CMakeCache.txt(which is only in the build directory); yet, the text
mentions CMakesLists.txt (which is only in the source
directory). Since the string ':BOOL' only occurs in the
CMakeCache.txt, I assume the phrase:
CMakeLists.txt file is hand-editable
on the above page should be:
CMakeCache.txt file is hand-editable
However, even in CMakeCache.txt there was no BUILD_VERSIONED:BOOL.
OTOH, apparently the flag is ON because when I ran make,
the library names in the build directory included:
and I did specify g++-4.1.
So, is the BUILD_VERSIONED flag no longer valid or is there
some other way to set it?