32 lines
678 B
CMake
32 lines
678 B
CMake
cmake_minimum_required(VERSION 4.0)
|
|
project(Compiler_GUI)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
set(CMAKE_PREFIX_PATH "/opt/homebrew/Cellar/qt/6.9.3")
|
|
|
|
find_package(Qt6 COMPONENTS
|
|
Core
|
|
Gui
|
|
Widgets
|
|
REQUIRED)
|
|
|
|
add_executable(Compiler_GUI main.cpp
|
|
mainwindow.cpp
|
|
mainwindow.h
|
|
ui/filebrowserwidget.cpp
|
|
ui/filebrowserwidget.h
|
|
ui/codeeditorwidget.cpp
|
|
ui/codeeditorwidget.h
|
|
backend/compileprocessmanager.cpp
|
|
backend/compileprocessmanager.h)
|
|
target_link_libraries(Compiler_GUI
|
|
Qt::Core
|
|
Qt::Gui
|
|
Qt::Widgets
|
|
)
|
|
|