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.
18 lines
419 B
18 lines
419 B
1 year ago
|
cmake_minimum_required(VERSION 3.22)
|
||
|
project(Pendulum)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 23)
|
||
|
set(CMAKE_AUTOMOC ON)
|
||
|
set(CMAKE_AUTORCC ON)
|
||
|
set(CMAKE_AUTOUIC ON)
|
||
|
|
||
|
find_package(Qt6 COMPONENTS OpenGLWidgets REQUIRED)
|
||
|
find_package(Eigen3 REQUIRED)
|
||
|
|
||
|
file(GLOB_RECURSE SOURCE_FILES src/**.cpp)
|
||
|
add_executable(Pendulum WIN32 ${SOURCE_FILES})
|
||
|
|
||
|
include_directories(${EIGEN3_INCLUDE_DIR})
|
||
|
|
||
|
target_link_libraries(Pendulum Qt6::OpenGLWidgets)
|