Browse Source
1. Platform and toolchain files are now all under `platforms/`, with a
single `CMake/platforms/${platform}.cmake` per platform.
2. Custom functions/macros are under `functions/`.
3. Finder modules are in `/finders`.
pull/3688/head
68 changed files with 82 additions and 85 deletions
@ -1,3 +0,0 @@ |
|||||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) |
|
||||||
message(WARNING [[In-source build detected, please eg. create a new directory and use `cmake ..`]]) |
|
||||||
endif() |
|
||||||
@ -1,3 +1,5 @@ |
|||||||
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/switch") |
||||||
|
|
||||||
set(ASAN OFF) |
set(ASAN OFF) |
||||||
set(UBSAN OFF) |
set(UBSAN OFF) |
||||||
|
|
||||||
@ -1,5 +0,0 @@ |
|||||||
# Enables a number of header file definitions required by ASIO |
|
||||||
target_compile_definitions(asio INTERFACE _DEFAULT_SOURCE=ON) |
|
||||||
|
|
||||||
# Missing headers and declarations provided by DevilutionX |
|
||||||
target_include_directories(asio BEFORE INTERFACE ${CMAKE_CURRENT_LIST_DIR}/asio/include) |
|
||||||
Loading…
Reference in new issue