mirror of https://github.com/axmolengine/axmol.git
18 lines
289 B
CMake
18 lines
289 B
CMake
|
|
||
|
set(lib_name clipper2)
|
||
|
set(target_name ${lib_name})
|
||
|
|
||
|
project(${lib_name})
|
||
|
|
||
|
add_library(${target_name} STATIC
|
||
|
clipper.core.h
|
||
|
clipper.engine.cpp
|
||
|
clipper.engine.h
|
||
|
clipper.h
|
||
|
clipper.minkowski.h
|
||
|
clipper.offset.cpp
|
||
|
clipper.offset.h
|
||
|
)
|
||
|
|
||
|
target_include_directories(${target_name} PUBLIC .)
|