Pull in Ox as git subtree
This commit is contained in:
34
deps/ox/src/ox/mc/CMakeLists.txt
vendored
Normal file
34
deps/ox/src/ox/mc/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
add_library(
|
||||
OxMetalClaw
|
||||
presencemask.cpp
|
||||
read.cpp
|
||||
write.cpp
|
||||
)
|
||||
|
||||
set_property(
|
||||
TARGET
|
||||
OxMetalClaw
|
||||
PROPERTY
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
|
||||
install(
|
||||
FILES
|
||||
err.hpp
|
||||
presencemask.hpp
|
||||
read.hpp
|
||||
write.hpp
|
||||
DESTINATION
|
||||
include/ox/mc
|
||||
)
|
||||
|
||||
install(TARGETS OxMetalClaw
|
||||
LIBRARY DESTINATION lib/ox
|
||||
ARCHIVE DESTINATION lib/ox
|
||||
)
|
||||
|
||||
if(OX_RUN_TESTS STREQUAL "ON")
|
||||
add_subdirectory(test)
|
||||
endif()
|
Reference in New Issue
Block a user