Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lua-language-server-srb2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LJ Sonic
lua-language-server-srb2
Commits
55ec1070
Commit
55ec1070
authored
6 years ago
by
actboy168
Browse files
Options
Downloads
Patches
Plain Diff
去掉一些警告
parent
cb85a216
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
3rd/bee.lua
+1
-1
1 addition, 1 deletion
3rd/bee.lua
3rd/luamake
+1
-1
1 addition, 1 deletion
3rd/luamake
make.lua
+6
-24
6 additions, 24 deletions
make.lua
with
8 additions
and
26 deletions
bee.lua
@
b4f80764
Compare
68a7b6c4
...
b4f80764
Subproject commit
68a7b6c46283f1f6121325f863308396548ed8d
1
Subproject commit
b4f80764eb5a5addbf7d9806f9af210a33ca0a2
1
This diff is collapsed.
Click to expand it.
luamake
@
882f22a0
Compare
952954f6
...
882f22a0
Subproject commit
952954f6ed227971f457f2d148dd98f6956c8d66
Subproject commit
882f22a0e47acde91ebe314943d77607e6dc5ca1
This diff is collapsed.
Click to expand it.
make.lua
+
6
−
24
View file @
55ec1070
local
lm
=
require
'luamake'
local
lm
=
require
'luamake'
local
platform
=
require
"bee.platform"
local
platform
=
require
"bee.platform"
...
@@ -7,41 +6,24 @@ lm:import '3rd/bee.lua/make.lua'
...
@@ -7,41 +6,24 @@ lm:import '3rd/bee.lua/make.lua'
lm
.
arch
=
'x64'
lm
.
arch
=
'x64'
lm
.
rootdir
=
'3rd/'
lm
.
rootdir
=
'3rd/'
local
lua
=
'lua54'
local
includes
=
nil
local
lpeglabel_ldflags
=
'/EXPORT:luaopen_lpeglabel'
if
lm
.
plat
==
'macos'
then
lua
=
'lua'
includes
=
{
'bee.lua/3rd/lua/src'
}
lpeglabel_ldflags
=
nil
elseif
lm
.
plat
==
'linux'
then
lua
=
'lua'
includes
=
{
'bee.lua/3rd/lua/src'
}
lpeglabel_ldflags
=
nil
end
lm
:
shared_library
'lni'
{
lm
:
shared_library
'lni'
{
deps
=
lua
,
deps
=
platform
.
OS
==
"Windows"
and
"lua54"
or
"lua"
,
sources
=
{
sources
=
{
'lni/src/main.cpp'
,
'lni/src/main.cpp'
,
},
},
includes
=
includes
,
links
=
{
links
=
{
platform
.
OS
==
"Linux"
and
"stdc++"
,
platform
.
OS
==
"Linux"
and
"stdc++"
,
},
},
}
}
lm
:
shared_library
'lpeglabel'
{
lm
:
shared_library
'lpeglabel'
{
deps
=
lua
,
deps
=
platform
.
OS
==
"Windows"
and
"lua54"
or
"lua"
,
sources
=
'lpeglabel/*.c'
,
sources
=
'lpeglabel/*.c'
,
ldflags
=
lpeglabel_ldflags
,
undefs
=
"NDEBUG"
,
includes
=
includes
ldflags
=
platform
.
OS
==
"Windows"
and
"/EXPORT:luaopen_lpeglabel"
,
}
}
local
rcedit
=
nil
if
platform
.
OS
==
"Windows"
then
if
lm
.
plat
~=
'macos'
and
lm
.
plat
~=
'linux'
then
rcedit
=
'rcedit'
lm
:
executable
'rcedit'
{
lm
:
executable
'rcedit'
{
sources
=
'rcedit/src/*.cc'
,
sources
=
'rcedit/src/*.cc'
,
defines
=
{
defines
=
{
...
@@ -62,7 +44,7 @@ lm:build 'install' {
...
@@ -62,7 +44,7 @@ lm:build 'install' {
'lni'
,
'lni'
,
'lpeglabel'
,
'lpeglabel'
,
'bee'
,
'bee'
,
rcedit
platform
.
OS
==
"Windows"
and
"
rcedit
"
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment