Skip to content

Commit 97b425b

Browse files
committed
[NO_MERGE] Test C++ source code plugin
1 parent d53f65c commit 97b425b

File tree

7 files changed

+609
-0
lines changed

7 files changed

+609
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env python
2+
from misc.utility.scons_hints import *
3+
4+
Import("env")
5+
Import("env_modules")
6+
7+
env_this_module = env_modules.Clone()
8+
9+
# Add sources.
10+
11+
env_this_module.add_source_files(env.modules_sources, "*.cpp")
12+
13+
if env.editor_build:
14+
env_this_module.add_source_files(env.modules_sources, "editor/*.cpp")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def can_build(env, platform):
2+
return True
3+
4+
5+
def configure(env):
6+
pass

0 commit comments

Comments
 (0)