-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
31 lines (24 loc) · 930 Bytes
/
CMakeLists.txt
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
# Copyright (c) Tzvetan Mikov.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
cmake_minimum_required(VERSION 3.3)
project(apple2tc)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
#add_compile_options(-fsanitize=address,undefined)
#add_link_options(-fsanitize=address,undefined)
#add_compile_options(-fsanitize=address)
#add_link_options(-fsanitize=address)
#add_compile_options(-fsanitize=thread)
#add_link_options(-fsanitize=thread)
set(APPLE2TC_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(APPLE2TC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
# This is used for easy reference of dependency includes.
set(A2TC_INC ${APPLE2TC_INCLUDE_DIR}/apple2tc)
include_directories(${APPLE2TC_INCLUDE_DIR})
add_subdirectory(lib)
add_subdirectory(tools)
add_subdirectory(decoded)