From f464ae84ce5b1acd355a43b37156fcab476ac3e7 Mon Sep 17 00:00:00 2001 From: Itamar Date: Fri, 7 Jan 2022 16:31:48 +0200 Subject: CMake: Add HACKSTUDIO_BUILD option for building from Hack Studio If this option is set, we will not build all components. Instead, we include an external CMake file passed in via a variable named HACKSTUDIO_BUILD_CMAKE_FILE. This will be used to build serenity components from Hack Studio. --- Meta/CMake/common_options.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Meta/CMake') diff --git a/Meta/CMake/common_options.cmake b/Meta/CMake/common_options.cmake index 3a1f9ef409..eb516be7fc 100644 --- a/Meta/CMake/common_options.cmake +++ b/Meta/CMake/common_options.cmake @@ -12,3 +12,5 @@ serenity_option(ENABLE_COMPILETIME_HEADER_CHECK OFF CACHE BOOL "Enable compileti serenity_option(ENABLE_TIME_ZONE_DATABASE_DOWNLOAD ON CACHE BOOL "Enable download of the IANA Time Zone Database at build time") serenity_option(ENABLE_UNICODE_DATABASE_DOWNLOAD ON CACHE BOOL "Enable download of Unicode UCD and CLDR files at build time") serenity_option(INCLUDE_WASM_SPEC_TESTS OFF CACHE BOOL "Download and include the WebAssembly spec testsuite") + +serenity_option(HACKSTUDIO_BUILD OFF CACHE BOOL "Automatically enabled when building from HackStudio") -- cgit v1.2.3