-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
18 lines (13 loc) · 722 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 3.28)
project(PDBHeaderGenerator)
set(CMAKE_CXX_STANDARD 20)
file(GLOB_RECURSE SOURCE_FILES src/*.cpp )
string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} SYSTEM_PROCESSOR_LOWERCASE)
add_executable(PDBHeaderGenerator ${SOURCE_FILES} )
target_include_directories(PDBHeaderGenerator PUBLIC include)
# DIA SDK dependency
target_include_directories(PDBHeaderGenerator PRIVATE dependencies/DIA_SDK/include)
target_link_libraries(PDBHeaderGenerator PRIVATE ${CMAKE_CURRENT_LIST_DIR}/dependencies/DIA_SDK/lib/${SYSTEM_PROCESSOR_LOWERCASE}/diaguids.lib)
# nlohmann-json dependency
add_subdirectory(dependencies/nlohmann-json)
target_link_libraries(PDBHeaderGenerator PRIVATE nlohmann_json::nlohmann_json)