pmlpp/platform/SCsub

20 lines
445 B
Python

#!/usr/bin/env python
from compat import open_utf8
Import("env")
env.platform_sources = []
env.add_source_files(env.platform_sources, "sfwl.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])