Minor alterations to CMake to make macros more generic
This commit is contained in:
parent
5925934122
commit
ab326c9d54
6 changed files with 23 additions and 3 deletions
|
@ -1,11 +1,13 @@
|
|||
project(BlogParser)
|
||||
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
set(CMAKE_BUILD_TYPE Debug) # Debug or Release
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS 1) # export our compiler flags for clangd to read
|
||||
|
||||
project(BlogParser)
|
||||
|
||||
configure_file(MacroDefinitions.h.in MacroDefinitions.h)
|
||||
|
||||
add_subdirectory(Src)
|
||||
add_subdirectory(Tests)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue