Talk:Building using CMake

407 bytes added, 15:54, 21 August 2012
cmake option-source order altered
cmake -D CMAKE_BUILD_TYPE:STRING="Release" -D CMAKE_CXX_FLAGS_RELEASE:STRING="-O3 -g -pipe -march=native -mtune=native -mfpmath=sse -Wall"\
-D CMAKE_C_FLAGS_RELEASE:STRING="-O3 -g -pipe -march=native -mtune=native -mfpmath=sse -Wall" -D CMAKE_INSTALL_PREFIX:PATH="$HOME/FlightGear/fg.git" -D FG_DATA_DIR="/some/path/" $1
Changed the order of cmake's source path and option as suggested by [ <code>man cmake</code>]. This is to prevent makeing new users of cmake confused. It also has the advantage that options like "-D CMAKE_SOME_OPTION=something" (instead of "-DCMAKE_...") do work. If you don't like that change, just undo it, thanks.
[[User:Flughund|Flughund]] 11:54, 21 August 2012 (EDT)