[sldev] CMake preview available - please try it out!
Robin Cornelius
robin.cornelius at gmail.com
Thu Jan 31 01:51:15 PST 2008
Bryan O'Sullivan wrote:
> Now that Soft has made a public SVN branch of our CMake tree available,
> it's time to follow up with some details. There should be buildable
> bits in the SVN tree within the next few minutes.
>
> Please give things a try!
>
>
Do we have a JIRA meta bug for cmake related things? if not i will just
go and create one. Hit loads of problems from the start.
<rant>
My favorite so far is:-
robin at debian:~/slviewer/cmake/indra$ ./cmake.py --help
Usage: cmake.py [options] command
Options:
-h | --help print this help message
--standalone build standalone, without Linden prebuild libraries
-t | --type=NAME build type ("debug", "release", or "relwithdebinfo")
Commands:
build build default target
clean delete all build directories (does not affect sources)
configure configure project by running cmake
If you do not specify a command, the default is "configure".
robin at debian:~/slviewer/cmake/indra$ ./cmake.py --standalone
Error: option --standalone not recognized
Anyway for Debianized builds, i probably will not even use cmake.py and
just hit cmake directly with something like
cd indra && cmake -DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO -G 'Unix
Makefiles' -DSERVER:BOOL=FALSE -DVIEWER:BOOL=TRUE -DSTANDALONE:BOOL=TRUE
-DAPR_INCLUDE_DIR:STRING='/usr/include/apr-1.0'
-DAPRUTIL_INCLUDE_DIR:STRING='/usr/include/apr-1.0'
'/home/robin/slviewer/cmake/indra'
Which BTW i have to add in APR_INCLUDE_DIR and APRUTIL_INCLUDE_DIR as
cmake told me i had to. But then did nothing with the resultant input as
all the .h files that include apr-1/apr.h are static anyway so i still
need the same build patches as i did before.
Now i have to patch the cmake file (as i did for scons) to stop warnings
being treated as errors due to numerous char * implicit castings
Arrrrrrggggg
/me bangs head on table.
</rant>
More information about the SLDev
mailing list