-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (23 loc) · 907 Bytes
/
CMakeLists.txt
File metadata and controls
31 lines (23 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# AetherEngine
cmake_minimum_required(VERSION 4.3.1)
set(aether AetherEngine)
project(${aether} VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_executable(${aether})
# source files
add_subdirectory(aether)
# includes
target_include_directories(${aether}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
include(cmake/dependencies.cmake)
aether_fetch_dependencies(${aether})
# add_custom_command(TARGET ${aether} POST_BUILD
# COMMAND ${CMAKE_COMMAND} -E remove_directory $<TARGET_FILE_DIR:${aether}>/resources
# COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/resources $<TARGET_FILE_DIR:${aether}>/resources
# COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_RUNTIME_DLLS:${aether}> $<TARGET_FILE_DIR:${aether}>
# COMMAND_EXPAND_LISTS
# )