Skip to content

Commit

Permalink
Lua: Fix fresh compiles with /bigobj
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Dec 29, 2023
1 parent cfc0398 commit 39b22e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,12 @@ target_compile_features(LuaVR PUBLIC
cxx_std_23
)

target_compile_options(LuaVR PUBLIC
"/bigobj"
"/EHa"
"/MP"
)

target_include_directories(LuaVR PUBLIC
"include/"
)
Expand Down
1 change: 1 addition & 0 deletions cmake.toml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ include-directories = ["dependencies/sol2/single/single/include"]
[target.LuaVR]
type = "shared"
compile-features = ["cxx_std_23"]
compile-options = ["/bigobj", "/EHa", "/MP"]
include-directories = ["include/"]
sources = ["lua-api/**.cpp", "lua-api/**.c"]
headers = ["lua-api/**.hpp", "lua-api/**.h"]
Expand Down

0 comments on commit 39b22e7

Please sign in to comment.