mirror of https://github.com/axmolengine/axmol.git
20 lines
366 B
CMake
20 lines
366 B
CMake
|
|
||
|
set(lib_name clipper)
|
||
|
set(target_name ${lib_name})
|
||
|
|
||
|
project(${lib_name})
|
||
|
|
||
|
add_library(${target_name} STATIC
|
||
|
clipper.cpp
|
||
|
)
|
||
|
|
||
|
target_include_directories(${target_name} PUBLIC .)
|
||
|
|
||
|
set_target_properties(${target_name}
|
||
|
PROPERTIES
|
||
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||
|
FOLDER "External"
|
||
|
)
|
||
|
|