godot_voxel/SCsub

27 lines
474 B
Plaintext
Raw Normal View History

Import('env')
2019-05-29 16:45:19 -07:00
Import('env_modules')
2019-05-29 16:45:19 -07:00
env_voxel = env_modules.Clone()
2019-05-29 16:45:19 -07:00
files = [
"*.cpp",
"meshers/blocky/*.cpp",
"meshers/transvoxel/*.cpp",
"meshers/dmc/*.cpp",
"meshers/*.cpp",
"streams/*.cpp",
"util/*.cpp",
"terrain/*.cpp",
"math/*.cpp",
"lz4/*.c"
2019-05-29 16:45:19 -07:00
]
for f in files:
env_voxel.add_source_files(env.modules_sources, f)
# Doesn't work, because reasons
#if env.msvc:
# env_voxel.Append(CXXFLAGS=['/std:c++17'])
#else:
# env_voxel.Append(CXXFLAGS=['-std=c++17'])