Interactive Mandelbrot viewer with Qt and OpenGL.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
578 B

3 years ago
cmake_minimum_required(VERSION 3.21)
project(Mandelbrot)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_PREFIX_PATH "/opt/Qt/6.2.3/gcc_64")
find_package(Qt6 COMPONENTS
Core
Gui
Widgets
3 years ago
OpenGLWidgets
3 years ago
REQUIRED)
file(GLOB_RECURSE SOURCE_FILES src/**.cpp)
file(GLOB_RECURSE HEADER_FILES headers/**.h)
add_executable(Mandelbrot ${SOURCE_FILES} ${HEADER_FILES})
3 years ago
target_link_libraries(Mandelbrot
Qt::Core
Qt::Gui
Qt::Widgets
3 years ago
Qt::OpenGLWidgets
3 years ago
)