pmlpp/platform/SCsub

21 lines
500 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")
env.add_source_files(env.platform_sources, "image.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])