pmlpp/platform/SCsub
2024-01-25 13:01:54 +01:00

20 lines
444 B
Python

#!/usr/bin/env python
from compat import open_utf8
Import("env")
env.platform_sources = []
env.add_source_files(env.platform_sources, "sfw.cpp")
lib = env.add_library("platform", env.platform_sources)
env.Prepend(LIBS=[lib])
# TODO Move this to somewhere else, so it can be easily overridden
env.main_sources = []
env.add_source_files(env.main_sources, "main.cpp")
lib = env.add_library("main", env.main_sources)
env.Prepend(LIBS=[lib])