42 lines
1.1 KiB
CMake
42 lines
1.1 KiB
CMake
cmake_minimum_required(VERSION 3.30)
|
|
|
|
project(enzoOps1)
|
|
|
|
find_package(Boost REQUIRED)
|
|
# eigen (math)
|
|
find_package (Eigen3 3.3 REQUIRED NO_MODULE)
|
|
|
|
set(libName enzoOps1)
|
|
add_library(${libName} SHARED
|
|
RegisterPlugin.cpp
|
|
../Engine/Operator/OperatorTable.cpp
|
|
../Engine/Operator/GeometryOpDef.cpp
|
|
../Engine/Operator/GeometryOperator.cpp
|
|
../Engine/Operator/GeometryConnection.cpp
|
|
../Engine/Operator/Context.cpp
|
|
../Engine/Operator/Geometry.cpp
|
|
../Engine/Operator/Attribute.cpp
|
|
../Engine/Network/NetworkManager.cpp
|
|
../Engine/Parameter/Template.cpp
|
|
../Engine/Parameter/Parameter.cpp
|
|
../Engine/Parameter/Default.cpp
|
|
../Engine/Parameter/Range.cpp
|
|
../Engine/Parameter/PrmName.cpp
|
|
GopTransform.cpp
|
|
GopHouse.cpp
|
|
GopTestCube.cpp
|
|
GopGeometryImport.cpp
|
|
GopGrid.cpp
|
|
GopSineWave.cpp
|
|
GopOceanSurface.cpp
|
|
)
|
|
target_link_libraries(${libName} PRIVATE Qt6::Core Qt6::Widgets Qt6::SvgWidgets Qt6::OpenGLWidgets glm::glm Eigen3::Eigen TBB::tbb)
|
|
|
|
|
|
MESSAGE("CURRENT SOURCE DIR" ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_include_directories(${libName} PUBLIC
|
|
../
|
|
.
|
|
../../extern/icecream-cpp/include
|
|
)
|