mirror of
https://github.com/Relintai/rpi_player.git
synced 2025-02-20 09:44:19 +01:00
23 lines
620 B
Python
23 lines
620 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env_mod")
|
|
Import("env")
|
|
|
|
env_mod.core_sources = []
|
|
|
|
env_mod.add_source_files(env_mod.core_sources, "*.cpp")
|
|
env_mod.add_source_files(env_mod.core_sources, "core/*.cpp")
|
|
env_mod.add_source_files(env_mod.core_sources, "renderer/*.cpp")
|
|
env_mod.add_source_files(env_mod.core_sources, "widgets/*.cpp")
|
|
|
|
|
|
env_mod.Prepend(LINKFLAGS=["-lSDL2_ttf"])
|
|
env.Prepend(LINKFLAGS=["-lSDL2_ttf"])
|
|
|
|
env_mod.Prepend(CPPPATH=["#../custom_modules/sdl"])
|
|
env.Prepend(CPPPATH=["#../custom_modules/sdl"])
|
|
|
|
# Build it all as a library
|
|
lib = env_mod.add_library("sdl", env_mod.core_sources)
|
|
env.Prepend(LIBS=[lib])
|