Skip to content

BUG: MacOS support libraries end up into res://build/* #52

@clemens-tolboom

Description

@clemens-tolboom

After #33 lands we still face:

The MacOS build process results in the supporting files into res://build/ directory.

image

Fiddling removing /build makes them required in res:// aka the root of the demo project. Which is worse.

diff --git a/SConstruct b/SConstruct
index 1eeae22..9f7172a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -18,11 +18,11 @@ cpp_bindings_path = "godot-cpp/"
 cpp_library = "libgodot-cpp"
 
 rte_cpp_path = "src/raster-tile-extractor/"
-rte_libpath = "src/raster-tile-extractor/build/"
+rte_libpath = "src/raster-tile-extractor/"
 rte_library = "libRasterTileExtractor"
 
 vector_cpp_path = "src/vector-extractor/"
-vector_libpath = "src/vector-extractor/build/"
+vector_libpath = "src/vector-extractor/"
 vector_library = "libVectorExtractor"
 
 demo_path = "demo/addons/geodot/"

and the other(s) too

diff --git a/src/vector-extractor/SConstruct b/src/vector-extractor/SConstruct
index bda7203..fa67298 100644
--- a/src/vector-extractor/SConstruct
+++ b/src/vector-extractor/SConstruct
@@ -25,9 +25,9 @@ if env['p'] != '':
 
-env['target_path'] = 'build/'
+env['target_path'] = './'
 env['target_name'] = 'libVectorExtractor'

We do not understand this dynamics on MacOS. Help needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild-releaseRelated to the build and release pipeline.help wantedExtra attention is neededmacosSpecific to Mac OS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions