-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_wilson.py
More file actions
32 lines (30 loc) · 873 Bytes
/
Copy pathbuild_wilson.py
File metadata and controls
32 lines (30 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from pysemble.builders import Project, Library
from pysemble.compilers import Clang
from pysemble.archivers import Ar
import os
compiler = Clang(version = "c++17", optimization = 1) # g++
archiver = Ar()
libwilson = Library("libwilson", compiler, archiver)
libwilson.add_sources([
"core/AnimatedSpriteComponent.cpp",
"core/SpriteComponent.cpp",
"core/Entity.cpp",
"core/Resources.cpp",
"core/Scene.cpp",
"core/TilemapComponent.cpp",
"core/Window.cpp",
"core/SoundComponent.cpp"
])
libwilson.add_include_directory("vendor/SFML-2.5.1/include/")
libwilson.add_headers([
"core/AnimatedSpriteComponent.h",
"core/SpriteComponent.h",
"core/Entity.h",
"core/Resources.h",
"core/Scene.h",
"core/TilemapComponent.h",
"core/json.hpp",
"core/Transform.h",
"core/SoundComponent.h"
])
libwilson.package(dynamic=True)