Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gdpd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
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
IVMI
Gdpd
Commits
7408afb7
Commit
7408afb7
authored
4 years ago
by
BERTHAUT Florent
Browse files
Options
Downloads
Patches
Plain Diff
Added update script and fixed scons on osx
parent
b2a24dd5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SConstruct
+2
-0
2 additions, 0 deletions
SConstruct
update.sh
+6
-0
6 additions, 0 deletions
update.sh
with
8 additions
and
0 deletions
SConstruct
+
2
−
0
View file @
7408afb7
...
...
@@ -51,9 +51,11 @@ if env['platform'] == "osx":
cpp_library
+=
'
.osx
'
if
env
[
'
target
'
]
in
(
'
debug
'
,
'
d
'
):
env
.
Append
(
CCFLAGS
=
[
'
-g
'
,
'
-O2
'
,
'
-arch
'
,
'
x86_64
'
])
env
.
Append
(
CXXFLAGS
=
[
'
-std=c++17
'
])
env
.
Append
(
LINKFLAGS
=
[
'
-arch
'
,
'
x86_64
'
])
else
:
env
.
Append
(
CCFLAGS
=
[
'
-g
'
,
'
-O3
'
,
'
-arch
'
,
'
x86_64
'
])
env
.
Append
(
CXXFLAGS
=
[
'
-std=c++17
'
])
env
.
Append
(
LINKFLAGS
=
[
'
-arch
'
,
'
x86_64
'
])
elif
env
[
'
platform
'
]
in
(
'
x11
'
,
'
linux
'
):
...
...
This diff is collapsed.
Click to expand it.
update.sh
0 → 100755
+
6
−
0
View file @
7408afb7
#!/bin/bash
git submodule update
--init
--recursive
cd
src/godot-cpp
scons
platform
=
$1
generate_bindings
=
yes
cd
../..
scons
platform
=
$1
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