Simulate thousands of n-Pendula (up to 32) with Position Based Dynamics
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.

16 lines
430 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(OpenMP REQUIRED)
1 year ago
file(GLOB_RECURSE SOURCE_FILES src/**.cpp)
add_executable(Pendulum WIN32 ${SOURCE_FILES} icons/icons.qrc shaders/shaders.qrc)
1 year ago
target_link_libraries(Pendulum Qt6::OpenGLWidgets OpenMP::OpenMP_CXX)