Configured project

This commit is contained in:
Leonetienne 2022-03-05 12:48:26 +01:00
parent 4d1788fc6d
commit 7b369535f4
5 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "Leonetienne/{PROJECT_NAME}"
PROJECT_NAME = "Leonetienne/BmpPP"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version

View File

@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.16)
project({PROJECT_NAME})
project(BmpPP)
set(CMAKE_CXX_STANDARD 17)
add_library({PROJECT_NAME}
add_library(BmpPP
)

View File

@ -12,5 +12,5 @@ add_executable(Test
)
target_link_libraries(Test {PROJECT_NAME})
target_link_libraries(Test BmpPP)

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Replace {PROJECT_NAME} with first parameter given in all files
find . -type f -exec sed -i "s/{PROJECT_NAME}/$1/g" {} \;
find . -type f -not \( -path '*.git/*' -or -path '*configure.sh*' -or -name 'Catch2.h' \) -exec sed -i "s/{PROJECT_NAME}/$1/g" {} \;

View File

@ -1,4 +1,4 @@
# {PROJECT_NAME}
# BmpPP
Run `configure.sh MyAwesomeLibrary` to give your project a name.
# LICENSE