forked from saleae/SampleAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
26 lines (19 loc) · 806 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
cmake_minimum_required(VERSION 3.13)
project(GameCubeControllerAnalyzer)
add_definitions(-DLOGIC2)
# enable generation of compile_commands.json, helpful for IDEs to locate include
# files.
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# custom CMake Modules are located in the cmake directory.
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
include(ExternalAnalyzerSDK)
set(SOURCES
src/GameCubeControllerAnalyzer.cpp
src/GameCubeControllerAnalyzer.h
src/GameCubeControllerAnalyzerResults.cpp
src/GameCubeControllerAnalyzerResults.h
src/GameCubeControllerAnalyzerSettings.cpp
src/GameCubeControllerAnalyzerSettings.h
src/GameCubeControllerSimulationDataGenerator.cpp
src/GameCubeControllerSimulationDataGenerator.h)
add_analyzer_plugin(${PROJECT_NAME} SOURCES ${SOURCES})