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/connection_instance.cpp comdel/domain/rule.cpp comdel/domain/attribute.cpp comdel/domain/bus.cpp comdel/domain/pin.cpp comdel/domain/display.cpp comdel/domain/library.cpp comdel/domain/function_signature.cpp comdel/domain/address_space.cpp comdel/domain/instance_attribute.cpp comdel/domain/connection.cpp comdel/domain/instance.cpp comdel/domain/schema_creator.cpp comdel/parser/comdel_parser.cpp comdel/parser/token.cpp comdel/parser/source_error.cpp comdel/parser/parse_context.cpp comdel/parser/tokens_type.cpp comdel/parser/ast_nodes.cpp comdel/parser/parser_util.cpp comdel/parser/comdel_lexer.cpp main.cpp mainwindow.ui comdel/domain/comdel_validator.cpp comdel/domain/comdel_validator.h comdel/display/attribute_dialog.cpp comdel/display/attribute_dialog.h comdel/display/name_dialog.cpp comdel/display/name_dialog.h comdel/domain/comdel_generator.cpp comdel/domain/comdel_generator.h comdel/display/library_list.cpp comdel/display/library_list.h application.cpp application.h comdel/display/single_automatic_dialog.cpp comdel/display/single_automatic_dialog.h comdel/parser/color.cpp comdel/parser/color.h) target_link_libraries(SchemeEditor Qt5::Core Qt5::Gui Qt5::Widgets)