Configured project
This commit is contained in:
parent
4d1788fc6d
commit
7b369535f4
@ -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
|
||||
|
@ -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
|
||||
|
||||
)
|
||||
|
||||
|
@ -12,5 +12,5 @@ add_executable(Test
|
||||
|
||||
)
|
||||
|
||||
target_link_libraries(Test {PROJECT_NAME})
|
||||
target_link_libraries(Test BmpPP)
|
||||
|
||||
|
@ -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" {} \;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user