Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
Libraries
mruby
Commits
1a8843d3
Commit
1a8843d3
authored
Jul 27, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2898 from joans321/update-mrbgems-doc
update mrbgems doc
parents
c9168341
54c853ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
doc/mrbgems/README.md
doc/mrbgems/README.md
+9
-5
No files found.
doc/mrbgems/README.md
View file @
1a8843d3
...
...
@@ -198,17 +198,21 @@ end
In case your GEM has more complex build requirements you can use
the following options additionally inside of your GEM specification:
*
`spec.cflags`
(C compiler flags)
*
`spec.mruby_cflags`
(global C compiler flags for everything)
*
`spec.mruby_ldflags`
(global linker flags for everything)
*
`spec.mruby_libs`
(global libraries for everything)
*
`spec.mruby_includes`
(global includes for everything)
*
`spec.cc.flags`
(C compiler flags)
*
`spec.cc.defines`
(C compiler defines)
*
`spec.cc.include_paths`
(C compiler include paths)
*
`spec.linker.flags`
(Linker flags)
*
`spec.linker.libraries`
(Linker libraries)
*
`spec.linker.library_paths`
(Linker additional library path)
*
`spec.bins`
(Generate binary file)
*
`spec.rbfiles`
(Ruby files to compile)
*
`spec.objs`
(Object files to compile)
*
`spec.test_rbfiles`
(Ruby test files for integration into mrbtest)
*
`spec.test_objs`
(Object test files for integration into mrbtest)
*
`spec.test_preload`
(Initialization files for mrbtest)
You also can use
`spec.mruby.cc`
and
`spec.mruby.linker`
to add extra global parameters for compiler and linker.
### include_paths and dependency
Your GEM can export include paths to another GEMs that depends on your GEM.
...
...
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