add xemil and sfx
This commit is contained in:
parent
f28a4802b6
commit
eb51b8bfc1
6 changed files with 18 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -4,3 +4,6 @@
|
||||||
[submodule "submodule/ode"]
|
[submodule "submodule/ode"]
|
||||||
path = submodule/ode
|
path = submodule/ode
|
||||||
url = https://github.com/thomasmarsh/ODE
|
url = https://github.com/thomasmarsh/ODE
|
||||||
|
[submodule "submodule/xemil"]
|
||||||
|
path = submodule/xemil
|
||||||
|
url = ../xemil
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ set(MW_INSTALL_HEADERS OFF)
|
||||||
add_subdirectory(external/lz4)
|
add_subdirectory(external/lz4)
|
||||||
add_subdirectory(external/ode)
|
add_subdirectory(external/ode)
|
||||||
add_subdirectory(submodule/milsko) # Since Milsko provides CMake, we just use it
|
add_subdirectory(submodule/milsko) # Since Milsko provides CMake, we just use it
|
||||||
|
add_subdirectory(external/xemil)
|
||||||
|
|
||||||
add_subdirectory(engine)
|
add_subdirectory(engine)
|
||||||
|
|
||||||
|
|
|
||||||
BIN
data/sfx/bang.ogg
Normal file
BIN
data/sfx/bang.ogg
Normal file
Binary file not shown.
4
data/sfx/manifest.xml
Normal file
4
data/sfx/manifest.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0">
|
||||||
|
<sfx>
|
||||||
|
<sfx name="bang">bang.ogg</sfx>
|
||||||
|
</sfx>
|
||||||
9
external/xemil/CMakeLists.txt
vendored
Normal file
9
external/xemil/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
cmake_minimum_required(VERSION 3.11)
|
||||||
|
project(xemil)
|
||||||
|
|
||||||
|
file(GLOB XEMIL_SRC ../../submodule/xemil/src/*.c)
|
||||||
|
|
||||||
|
add_library(xemil ${XEMIL_SRC})
|
||||||
|
target_include_directories(xemil PUBLIC ../../submodule/xemil/include)
|
||||||
|
|
||||||
|
set_property(TARGET xemil PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
1
submodule/xemil
Submodule
1
submodule/xemil
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 280b00720e86ea84a73023528151320ee767b1cd
|
||||||
Loading…
Add table
Add a link
Reference in a new issue