Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro-core
Commits
72e15045
Commit
72e15045
authored
Mar 17, 2025
by
Chen Bill
Committed by
GitHub
Mar 17, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update premake5.lua of Lua (#740)
* use compileas * add cppdialect to dll.lua * remove src/onelua.c
parent
95c21ab3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
premake/dll.lua
premake/dll.lua
+1
-0
premake/lua.lua
premake/lua.lua
+3
-9
No files found.
premake/dll.lua
View file @
72e15045
...
@@ -68,6 +68,7 @@ include(LUA_DIR)
...
@@ -68,6 +68,7 @@ include(LUA_DIR)
project
"ocgcore"
project
"ocgcore"
kind
"SharedLib"
kind
"SharedLib"
cppdialect
"C++14"
files
{
"*.cpp"
,
"*.h"
}
files
{
"*.cpp"
,
"*.h"
}
links
{
"lua"
}
links
{
"lua"
}
...
...
premake/lua.lua
View file @
72e15045
project
"lua"
project
"lua"
kind
"StaticLib"
kind
"StaticLib"
c
ppdialect
"C++14
"
c
ompileas
"C++
"
files
{
"src/*.c"
,
"src/*.h"
,
"src/*.hpp"
}
files
{
"src/*.c"
,
"src/*.h"
}
removefiles
{
"src/lua.c"
,
"src/luac.c"
}
removefiles
{
"src/lua.c"
,
"src/luac.c"
,
"src/linit.c"
,
"src/onelua.c"
}
filter
"action:vs*"
buildoptions
{
"/TP"
}
filter
"not action:vs*"
buildoptions
{
"-x c++"
}
filter
"configurations:Debug"
filter
"configurations:Debug"
defines
{
"LUA_USE_APICHECK"
}
defines
{
"LUA_USE_APICHECK"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment