|
|
@ -7,12 +7,9 @@ set(CMAKE_AUTORCC ON) |
|
|
|
set(CMAKE_AUTOUIC ON) |
|
|
|
set(CMAKE_AUTOUIC ON) |
|
|
|
|
|
|
|
|
|
|
|
find_package(Qt6 COMPONENTS OpenGLWidgets REQUIRED) |
|
|
|
find_package(Qt6 COMPONENTS OpenGLWidgets REQUIRED) |
|
|
|
find_package(Eigen3 REQUIRED) |
|
|
|
|
|
|
|
find_package(OpenMP REQUIRED) |
|
|
|
find_package(OpenMP REQUIRED) |
|
|
|
|
|
|
|
|
|
|
|
file(GLOB_RECURSE SOURCE_FILES src/**.cpp) |
|
|
|
file(GLOB_RECURSE SOURCE_FILES src/**.cpp) |
|
|
|
add_executable(Pendulum WIN32 ${SOURCE_FILES} icons/icons.qrc) |
|
|
|
add_executable(Pendulum WIN32 ${SOURCE_FILES} icons/icons.qrc) |
|
|
|
|
|
|
|
|
|
|
|
include_directories(${EIGEN3_INCLUDE_DIR}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
target_link_libraries(Pendulum Qt6::OpenGLWidgets OpenMP::OpenMP_CXX) |
|
|
|
target_link_libraries(Pendulum Qt6::OpenGLWidgets OpenMP::OpenMP_CXX) |
|
|
|