Skip to content
Snippets Groups Projects
Commit c0f6463f authored by Jan Möbius's avatar Jan Möbius
Browse files

Cmake updates

parent 2aaab9a2
No related branches found
No related tags found
No related merge requests found
Pipeline #20386 passed
cmake_minimum_required(VERSION 3.1.0) cmake_minimum_required(VERSION 3.3.0)
project(openmesh) project(openmesh
VERSION 1.2.0
LANGUAGES CXX )
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON)
...@@ -16,10 +18,23 @@ if (NOT WIN32) ...@@ -16,10 +18,23 @@ if (NOT WIN32)
) )
endif () endif ()
vci_append_files(HEADERS "src/*.hh" .) set( HEADERS
vci_append_files(SOURCES "src/*.cc" .) src/Circulator.hh
src/Decimater.hh
src/InputOutput.hh
src/Iterator.hh
src/Mesh.hh
src/MeshTypes.hh
src/Miscellaneous.hh
src/Utilities.hh
)
set( SOURCES
src/Bindings.cc
src/InputOutput.cc
src/Miscellaneous.cc
)
include_directories(${OPENMESH_INCLUDE_DIRS})
pybind11_add_module(openmesh ${HEADERS} ${SOURCES}) pybind11_add_module(openmesh ${HEADERS} ${SOURCES})
if (WIN32) if (WIN32)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment