Skip to content

Commit

Permalink
[futurepress#83] Updates for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
birdofpreyru committed Nov 8, 2023
1 parent 22ae60b commit 5a388c1
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_OSX_ARCHITECTURES=${ESCAPED_ARCHS}
)
# This allows to not sign compiled PCRE2 executables for iOS / macOS builds,
# we don't really use them anyway, but we need them build for the install
# command below to work.
set(EXTRA_INSTALL_ARGS "-- CODE_SIGNING_ALLOWED=NO")

elseif(CMAKE_SYSTEM_NAME MATCHES "iOS")
set(
EXTRA_BUILD_ARGS
Expand All @@ -54,6 +59,10 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "iOS")
-DCMAKE_IOS_INSTALL_COMBINED=${CMAKE_IOS_INSTALL_COMBINED}
-GXcode
)
# This allows to not sign compiled PCRE2 executables for iOS / macOS builds,
# we don't really use them anyway, but we need them build for the install
# command below to work.
set(EXTRA_INSTALL_ARGS "-- CODE_SIGNING_ALLOWED=NO")
endif()

if(CMAKE_SYSTEM_NAME MATCHES "Android|Windows")
Expand All @@ -73,12 +82,7 @@ execute_process(

execute_process(
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/pcre2
--config Release

# This allows to not sign compiled PCRE2 executables for iOS / macOS builds,
# we don't really use them anyway, but we need them build for the install
# command below to work.
-- CODE_SIGNING_ALLOWED=NO
--config Release ${EXTRA_INSTALL_ARGS}
)

execute_process(COMMAND ${CMAKE_COMMAND} --install ${CMAKE_BINARY_DIR}/pcre2)
Expand Down
Binary file modified windows/ReactNativeStaticServer/lighttpd/lemon.exe
Binary file not shown.
Binary file modified windows/ReactNativeStaticServer/lighttpd/libpcre2-8.dll
Binary file not shown.
Binary file modified windows/ReactNativeStaticServer/lighttpd/lighttpd.dll
Binary file not shown.
Binary file modified windows/ReactNativeStaticServer/lighttpd/mod_dirlisting.dll
Binary file not shown.
Binary file modified windows/ReactNativeStaticServer/lighttpd/mod_h2.dll
Binary file not shown.
Binary file modified windows/ReactNativeStaticServer/lighttpd/mod_webdav.dll
Binary file not shown.

0 comments on commit 5a388c1

Please sign in to comment.