- CMake, print message to run 'make install', this is new and should help avoid confu...
[blender.git] / source / creator / CMakeLists.txt
index 7e00b554c6ce81f5865e882cca7ac964dd0e450c..101da571ad64c40b2cab394c11854bfe615e316c 100644 (file)
@@ -208,6 +208,12 @@ if(WITH_INSTALL)
                        "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(