]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/README.cmake
Convert lyxaccents to unicode (most of the work comes from Georg)
[lyx.git] / development / cmake / README.cmake
index a6f7168052f71e33d20d920d7db1b727990dfeb5..efad3a7f6bd10fb2848177c99a166526040b1b12 100644 (file)
@@ -19,10 +19,24 @@ Building Visual C++ 2005 project files:
 - create a build directory, e.g. .../trunk/../build
 - call in the build directory 'cmake ..\trunk\development\cmake'
 - start lyx.sln
+- Warnings:
+       The default warning level of the msvc cmake builds is now /W4.
+       The cmake option 
+               -DDISABLEWALL=1 
+       switches to /W3, 
+               -DWALL=1 
+       re enables /W4.
+       To disable a specific warning add it to MSVC_W_DISABLE of
+       cmake/CMakeLists.txt. To make the warning an error add it
+       to MSVC_W_ERROR of the same file.
 
 TIPS: - rename Microsoft Visual Studio 8\VC\vcpackages\feacp.dll 
         to disable Intellisense
       - the Release build links much faster
+      - for the 'Debug' and 'Release' build all precompiled headers are enabled
+        to compile without pch (to check if all necessary headers are included)
+          * use 'MinSizeRel' which only precompiles the STL and Boost headers
+          * use 'RelWithDebInfo' which does not use any precompiled headers
 
 
 Building with GCC/Linux: