Skip to content

Commit

Permalink
Move my_singleton to utils folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
stan220 committed Dec 28, 2024
1 parent 75ba3c2 commit c45fcd2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@

# Editors
.vscode/
.idea/
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env = SConscript("godot-cpp/SConstruct")
# Add source files.
env.Append(CPPPATH=["src/"])
sources = Glob("src/*.cpp")
sources+= Glob("src/utils/*.cpp")

# Find gdextension path even if the directory or extension is renamed (e.g. project/addons/example/example.gdextension).
(extension_path,) = glob("project/addons/*/*.gdextension")
Expand Down
2 changes: 1 addition & 1 deletion src/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <godot_cpp/classes/engine.hpp>

#include "my_node.hpp"
#include "my_singleton.hpp"
#include "utils/my_singleton.hpp"

static MySingleton *_my_singleton;

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c45fcd2

Please sign in to comment.