mirror of
https://github.com/Maschell/libutils.git
synced 2025-02-06 14:43:31 +01:00
Rename the lib from "utilswut" back to "utils"
This commit is contained in:
parent
d9e5e61fe1
commit
a67bdb7116
@ -1,21 +1,21 @@
|
|||||||
cmake_minimum_required(VERSION 3.2)
|
cmake_minimum_required(VERSION 3.2)
|
||||||
project(utilswut)
|
project(utils)
|
||||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||||
|
|
||||||
file(GLOB_RECURSE SOURCE_FILES *.c *.cpp)
|
file(GLOB_RECURSE SOURCE_FILES *.c *.cpp)
|
||||||
file(GLOB_RECURSE HEADER_FILES *.h)
|
file(GLOB_RECURSE HEADER_FILES *.h)
|
||||||
|
|
||||||
add_library(utilswut STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
add_library(utils STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
||||||
|
|
||||||
target_include_directories(utilswut PUBLIC "include")
|
target_include_directories(utils PUBLIC "include")
|
||||||
|
|
||||||
wut_enable_stdcpp(utilswut)
|
wut_enable_stdcpp(utils)
|
||||||
wut_default_malloc(utilswut)
|
wut_default_malloc(utils)
|
||||||
|
|
||||||
target_include_directories(utilswut PUBLIC "include")
|
target_include_directories(utils PUBLIC "include")
|
||||||
|
|
||||||
|
|
||||||
install(TARGETS utilswut
|
install(TARGETS utils
|
||||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libutils"
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libutils"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user