Files
OrcaSlicer/deps_src/glu-libtess/CMakeLists.txt
Dipl.-Ing. Raoul Rubien, BSc 75ed995b00 Fixes 50 Compiler Warnings: Add SYSTEM toCMakeLists.txt (#10653)
* src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories()

* src/*/CMakeLists.txt: removes duplicate sources from lisbslic3r_sources and SLIC3R_GUI_SOURCES"

* .gititnore: adds CMakeLists.txt.user and CMakeLists.txt.autosave

* deps_src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories()

* removes #pragma once from .cpp file
2025-09-19 23:45:03 +08:00

42 lines
681 B
CMake

cmake_minimum_required(VERSION 3.13)
project(glu-libtess)
add_library(glu-libtess STATIC
src/dict-list.h
src/dict.c
src/dict.h
src/geom.c
src/geom.h
src/gluos.h
src/memalloc.c
src/memalloc.h
src/mesh.c
src/mesh.h
src/normal.c
src/normal.h
src/priorityq.c
src/priorityq.h
src/priorityq-heap.h
src/priorityq-sort.h
src/render.c
src/render.h
src/sweep.c
src/sweep.h
src/tess.c
src/tess.h
src/tessmono.c
src/tessmono.h
include/glu-libtess.h
)
if(UNIX)
target_link_libraries(glu-libtess m)
endif(UNIX)
target_include_directories(glu-libtess SYSTEM
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include)