From a67bdb71161e06b76bf00a46d90b1d40d05b76cd Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 23 Jun 2018 13:51:09 +0200 Subject: [PATCH] Rename the lib from "utilswut" back to "utils" --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8510dc7..d1f6326 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"