mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-24 04:59:15 +01:00
Rename back to controllerpatcherwut
This commit is contained in:
parent
c873c2473c
commit
fd70b257c6
@ -1,29 +1,29 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
project(controllerpatcher)
|
||||
project(controllerpatcherwut)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
|
||||
file(GLOB_RECURSE SOURCE_FILES *.c *.cpp)
|
||||
file(GLOB_RECURSE HEADER_FILES *.h)
|
||||
|
||||
add_library(controllerpatcher STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
||||
add_library(controllerpatcherwut STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
||||
|
||||
target_link_libraries(controllerpatcher
|
||||
utils)
|
||||
target_link_libraries(controllerpatcherwut
|
||||
utilswut)
|
||||
|
||||
target_include_directories(controllerpatcher PUBLIC "include")
|
||||
target_include_directories(controllerpatcher PRIVATE "src")
|
||||
target_include_directories(controllerpatcherwut PUBLIC "include")
|
||||
target_include_directories(controllerpatcherwut PRIVATE "src")
|
||||
|
||||
|
||||
include_directories("${WUT_ROOT}/include/libutils" REQUIRED)
|
||||
include_directories("${WUT_ROOT}/include/libutilswut" REQUIRED)
|
||||
|
||||
wut_enable_stdcpp(controllerpatcher)
|
||||
wut_default_malloc(controllerpatcher)
|
||||
wut_enable_stdcpp(controllerpatcherwut)
|
||||
wut_default_malloc(controllerpatcherwut)
|
||||
|
||||
target_include_directories(controllerpatcher PUBLIC "include")
|
||||
target_compile_options(controllerpatcher PUBLIC "-D__LOGGING__")
|
||||
target_include_directories(controllerpatcherwut PUBLIC "include")
|
||||
target_compile_options(controllerpatcherwut PUBLIC "-D__LOGGING__")
|
||||
|
||||
|
||||
install(TARGETS controllerpatcher
|
||||
install(TARGETS controllerpatcherwut
|
||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/include"
|
||||
|
Loading…
Reference in New Issue
Block a user