File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,14 @@ To build a statically linked executable pass `-DSTATIC_LINKING=ON` when invoking
89
89
cmake -DSTATIC_LINKING=ON ..
90
90
```
91
91
92
+ Additional compiler and linker flags may be passed as environment variable sor their CMake
93
+ equivalent, e.g. to compile with debug symbols the following are the same:
94
+
95
+ ``` sh
96
+ cmake -DCMAKE_CXX_FLAGS=-g ..
97
+ CXXFLAGS=-g cmake ..
98
+ ```
99
+
92
100
### Building with ` docker-compose `
93
101
94
102
Alternatively, you can use [ docker-compose] to build and test the program:
Original file line number Diff line number Diff line change 3
3
#include < clang/Tooling/CommonOptionsParser.h>
4
4
5
5
int main (int argc, const char *argv[]) {
6
- llvm::cl::OptionCategory Category (" Binding Generator" );
6
+ llvm::cl::OptionCategory Category (" Scala Native Binding Generator" );
7
7
llvm::cl::extrahelp CommonHelp (
8
8
clang::tooling::CommonOptionsParser::HelpMessage);
9
9
llvm::cl::extrahelp MoreHelp (" \n Produce Bindings for scala native. Please "
You can’t perform that action at this time.
0 commit comments