mirror of
https://github.com/Maschell/libutils.git
synced 2025-01-29 19:36:47 +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)
|
||||
project(utilswut)
|
||||
project(utils)
|
||||
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
|
||||
|
||||
file(GLOB_RECURSE SOURCE_FILES *.c *.cpp)
|
||||
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_default_malloc(utilswut)
|
||||
wut_enable_stdcpp(utils)
|
||||
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")
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libutils"
|
||||
|
Loading…
x
Reference in New Issue
Block a user