https://bugs.webkit.org/show_bug.cgi?id=71062
Reviewed by Antonio Gomes.
.:
Adds a CMake option, called SHOULD_INSTALL_JS_SHELL, that when
defined will generate an installation rule to install the built
JavaScript shell into /bin (with respect to the prefix path).
By default, we don't define this option and hence don't generate
an installation rule for the JavaScript shell.
* Source/CMakeLists.txt:
Source/JavaScriptCore:
Generate an installation rule for installing the JavaScript shell in
/bin (with respect to the prefix path) when SHOULD_INSTALL_JS_SHELL
is defined.
* shell/CMakeLists.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98681
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-10-27 Daniel Bates <dbates@rim.com>
+
+ CMake: Add support to optionally install the built JavaScript shell
+ https://bugs.webkit.org/show_bug.cgi?id=71062
+
+ Reviewed by Antonio Gomes.
+
+ Adds a CMake option, called SHOULD_INSTALL_JS_SHELL, that when
+ defined will generate an installation rule to install the built
+ JavaScript shell into /bin (with respect to the prefix path).
+
+ By default, we don't define this option and hence don't generate
+ an installation rule for the JavaScript shell.
+
+ * Source/CMakeLists.txt:
+
2011-10-27 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r98556.
ADD_SUBDIRECTORY(WebKit2)
ENDIF ()
+# -----------------------------------------------------------------------------
+# Install JavaScript shell
+# -----------------------------------------------------------------------------
+OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell")
+
# -----------------------------------------------------------------------------
# Add test browser if exists
# -----------------------------------------------------------------------------
+2011-10-27 Daniel Bates <dbates@rim.com>
+
+ CMake: Add support to optionally install the built JavaScript shell
+ https://bugs.webkit.org/show_bug.cgi?id=71062
+
+ Reviewed by Antonio Gomes.
+
+ Generate an installation rule for installing the JavaScript shell in
+ /bin (with respect to the prefix path) when SHOULD_INSTALL_JS_SHELL
+ is defined.
+
+ * shell/CMakeLists.txt:
+
2011-10-27 Kentaro Hara <haraken@chromium.org>
Generate WebKitCSSMatrix constructor for JSC by [Constructor] IDL
IF (SHARED_CORE)
SET_TARGET_PROPERTIES(${JSC_EXECUTABLE_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
ENDIF ()
+
+IF (SHOULD_INSTALL_JS_SHELL)
+ INSTALL(TARGETS ${JSC_EXECUTABLE_NAME} DESTINATION bin)
+ENDIF ()