From cadb27ab21d923dbd651f094d43c6b077a5422ef Mon Sep 17 00:00:00 2001 From: Thomas A Date: Sun, 4 Sep 2022 10:59:46 -0700 Subject: [PATCH] Generate Headers for JavaScriptCore --- CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 641374a..d560ef9 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ project(JavaScriptCore) +remove_sdk_framework(JavaScriptCore) + set(CMAKE_C_STANDARD 99) set(CMAKE_CXX_STANDARD 17) @@ -2083,10 +2085,18 @@ set(JSC_SOURCES ${JSC_SOURCES} wasm/WasmAirIRGenerator.cpp ) +set(FRAMEWORK_VERSION "A") + +generate_sdk_framework(JavaScriptCore + VERSION ${FRAMEWORK_VERSION} + HEADER "include/JavaScriptCore" +) + + add_framework(JavaScriptCore FAT CURRENT_VERSION - VERSION "A" + VERSION ${FRAMEWORK_VERSION} SOURCES ${JSC_SOURCES}