Note that CMake honors umask for creating directories
authorBalint Reczey <balint@balintreczey.hu>
Sat, 23 Feb 2013 22:54:17 +0000 (22:54 -0000)
committerBalint Reczey <balint@balintreczey.hu>
Sat, 23 Feb 2013 22:54:17 +0000 (22:54 -0000)
svn path=/trunk/; revision=47846

README.cmake

index e6acb46469a13f3f77171757c349012537b85247..7d941b6e5064882651b19d270f2e6b39de8ecc19 100644 (file)
@@ -34,6 +34,7 @@ How to do out of tree build (Unix/Linux):
 4) cd build
 5) cmake ../<Name_of_WS_source_dir>
 6) make
+6) (as root) umask 0022 && make install
 
 Note 1:
 in step 5), you may override the defaults for features:
@@ -48,6 +49,11 @@ Note 3:
   After running cmake, you can always run "make help" to see
   a list of all possible make targets.
 
+Note 4:
+  Cmake honors user umask for creating directories as of now:
+  http://public.kitware.com/Bug/view.php?id=9620
+  To get predictable results please set umask explicitly.
+
 Why cmake?
 ==========
 - Can create project files for some MS and Apple IDEs.
@@ -83,9 +89,7 @@ What needs to be done?
 - Add asn1 autogen target (assigned: krj)
 - Add back platform specific objects.
 - Fix places in the cmake files marked as todo.
-- Add back (working) install target.
-  Currently, directories are created with user umask.
-  Also the guides are not installed.
+- Guides are not installed.
 - Build source package (using CPack).
 - Build rpm package (using CPack).
 - Build dpkg package (using CPack).