Skip to content

Commit 7d3ee1c

Browse files
committed
Update plugify and change string and vector allocation
removing heap from string and vector allocations + update generator
1 parent 7b32be0 commit 7d3ee1c

File tree

9 files changed

+1946
-1328
lines changed

9 files changed

+1946
-1328
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ endif()
2424
# Plugify
2525
#
2626
set(PLUGIFY_BUILD_SHARED_LIB ON CACHE INTERNAL "")
27-
set(PLUGIFY_BUILD_FUNCTION ON CACHE INTERNAL "")
27+
set(PLUGIFY_BUILD_JIT ON CACHE INTERNAL "")
2828
set(PLUGIFY_BUILD_ASSEMBLY ON CACHE INTERNAL "")
29+
set(PLUGIFY_BUILD_TESTS OFF CACHE INTERNAL "")
30+
set(PLUGIFY_DOWNLOADER OFF CACHE INTERNAL "")
2931
if(LINUX)
3032
set(PLUGIFY_USE_STATIC_STDLIB ON CACHE INTERNAL "")
3133
endif()
@@ -40,12 +42,12 @@ include(cmake/dyncall.cmake)
4042
# Go Language Module for Plugify
4143
#
4244
file(GLOB_RECURSE GOLM_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp")
43-
set(GOLM_PCH_FILE "src/pch.h")
45+
set(GOLM_PCH_FILE "src/pch.hpp")
4446

4547
add_library(${PROJECT_NAME} SHARED ${GOLM_SOURCES})
4648
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
4749

48-
set(GOLM_LINK_LIBRARIES plugify::plugify plugify::plugify-assembly asmjit::asmjit dyncall_s dyncallback_s)
50+
set(GOLM_LINK_LIBRARIES plugify::plugify plugify::plugify-assembly plugify::plugify-jit asmjit::asmjit dyncall_s)
4951

5052
if(NOT COMPILER_SUPPORTS_FORMAT)
5153
set(GOLM_LINK_LIBRARIES ${GOLM_LINK_LIBRARIES} fmt::fmt-header-only)

external/plugify

Submodule plugify updated 182 files

0 commit comments

Comments
 (0)