2022-04-08 17:13:53 +00:00
|
|
|
cmake_minimum_required(VERSION 3.9)
|
|
|
|
project(SchemeEditor)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
find_package(Qt5 CONFIG REQUIRED COMPONENTS Core Gui Widgets)
|
|
|
|
set(CMAKE_AUTOMOC TRUE)
|
|
|
|
set(CMAKE_AUTORCC TRUE)
|
|
|
|
set(CMAKE_AUTOUIC TRUE)
|
|
|
|
add_executable(SchemeEditor
|
|
|
|
mainwindow.cpp
|
|
|
|
comdel/display/component_display.cpp
|
|
|
|
comdel/display/schema_display.cpp
|
|
|
|
comdel/display/library_display.cpp
|
|
|
|
comdel/domain/value.cpp
|
|
|
|
comdel/domain/schema.cpp
|
|
|
|
comdel/domain/component.cpp
|
|
|
|
comdel/domain/connectioninstance.cpp
|
|
|
|
comdel/domain/rule.cpp
|
|
|
|
comdel/domain/wireinstance.cpp
|
|
|
|
comdel/domain/attribute.cpp
|
|
|
|
comdel/domain/bus.cpp
|
|
|
|
comdel/domain/pin.cpp
|
|
|
|
comdel/domain/display.cpp
|
|
|
|
comdel/domain/library.cpp
|
|
|
|
comdel/domain/functionsignature.cpp
|
|
|
|
comdel/domain/addressspace.cpp
|
|
|
|
comdel/domain/instanceattribute.cpp
|
|
|
|
comdel/domain/connection.cpp
|
|
|
|
comdel/domain/instance.cpp
|
2022-04-09 18:03:43 +00:00
|
|
|
comdel/domain/schemacreator.cpp
|
2022-04-08 18:17:58 +00:00
|
|
|
comdel/parser/comdelparser.cpp
|
2022-04-08 17:13:53 +00:00
|
|
|
comdel/parser/token.cpp
|
|
|
|
comdel/parser/parser_util.cpp
|
|
|
|
comdel/parser/sourceerror.cpp
|
|
|
|
comdel/parser/parsecontext.cpp
|
|
|
|
comdel/parser/tokenstype.cpp
|
|
|
|
comdel/parser/astnode.cpp
|
|
|
|
comdel/parser/parserutil.cpp
|
|
|
|
comdel/parser/comdellexer.cpp
|
|
|
|
main.cpp
|
|
|
|
mainwindow.ui
|
2022-04-10 12:23:18 +00:00
|
|
|
comdel/domain/comdelvalidator.cpp comdel/domain/comdelvalidator.h)
|
2022-04-08 17:13:53 +00:00
|
|
|
target_link_libraries(SchemeEditor Qt5::Core Qt5::Gui Qt5::Widgets)
|