27 lines
687 B
CMake
27 lines
687 B
CMake
cmake_minimum_required (VERSION 3.13)
|
|
|
|
project(TLC59731Analyzer)
|
|
|
|
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/TLC59731Analyzer.cpp
|
|
src/TLC59731Analyzer.h
|
|
src/TLC59731AnalyzerResults.cpp
|
|
src/TLC59731AnalyzerResults.h
|
|
src/TLC59731AnalyzerSettings.cpp
|
|
src/TLC59731AnalyzerSettings.h
|
|
src/TLC59731SimulationDataGenerator.cpp
|
|
src/TLC59731SimulationDataGenerator.h
|
|
)
|
|
|
|
add_analyzer_plugin(${PROJECT_NAME} SOURCES ${SOURCES})
|