a
This commit is contained in:
parent
4b0a924184
commit
247661fc13
22 changed files with 325 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.11)
|
||||
project(assaultfish)
|
||||
project(gearbox)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
|
||||
|
|
@ -17,11 +17,18 @@ endmacro()
|
|||
add_subdirectory(external/glad)
|
||||
|
||||
add_subdirectory(net)
|
||||
add_subdirectory(common)
|
||||
|
||||
file(GLOB GearBox_SRC src/*.c)
|
||||
|
||||
add_library(GearBox SHARED ${GearBox_SRC})
|
||||
target_include_directories(GearBox PUBLIC include)
|
||||
target_compile_definitions(GearBox PRIVATE _GEARBOX)
|
||||
|
||||
install_target(GearBox)
|
||||
|
||||
add_subdirectory(tools)
|
||||
|
||||
install(
|
||||
FILES resource/shadow.vs resource/shadow.fs
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gearbox
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/GearBox
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue