[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35436] trunk/blender: - CMake, print message to run 'make install', this is new and should help avoid confusion: [#26425] SVN release can' t find scripts/modules and doesn't start properly

Campbell Barton ideasman42 at gmail.com
Wed Mar 9 22:19:15 CET 2011


Revision: 35436
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35436
Author:   campbellbarton
Date:     2011-03-09 21:19:15 +0000 (Wed, 09 Mar 2011)
Log Message:
-----------
- CMake, print message to run 'make install', this is new and should help avoid confusion: [#26425] SVN release can't find scripts/modules and doesn't start properly
- remove extension from icon to match spec: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.htm

Modified Paths:
--------------
    trunk/blender/release/freedesktop/blender.desktop
    trunk/blender/source/creator/CMakeLists.txt

Modified: trunk/blender/release/freedesktop/blender.desktop
===================================================================
--- trunk/blender/release/freedesktop/blender.desktop	2011-03-09 20:58:26 UTC (rev 35435)
+++ trunk/blender/release/freedesktop/blender.desktop	2011-03-09 21:19:15 UTC (rev 35436)
@@ -8,7 +8,7 @@
 Comment=3D modeling, animation, rendering and post-production
 Comment[es]=modelado 3D, animación, renderizado y post-producción
 Exec=blender
-Icon=blender.svg
+Icon=blender
 Terminal=false
 Type=Application
 Categories=Graphics;3DGraphics;

Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt	2011-03-09 20:58:26 UTC (rev 35435)
+++ trunk/blender/source/creator/CMakeLists.txt	2011-03-09 21:19:15 UTC (rev 35436)
@@ -208,6 +208,12 @@
 			"file(REMOVE_RECURSE ${TARGETDIR_VER})"
 		)
 
+		# message after building.
+		add_custom_command(
+			TARGET blender POST_BUILD MAIN_DEPENDENCY blender
+			COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${TARGETDIR_VER}'
+		)
+
 		# there are a few differences between portable and system install
 		if(WITH_INSTALL_PORTABLE)
 			install(




More information about the Bf-blender-cvs mailing list