2015-06-26 18:24:51 -04:00
|
|
|
cmake_minimum_required (VERSION 2.6)
|
2016-01-01 15:05:09 -05:00
|
|
|
project (Cuberite)
|
2015-06-26 18:24:51 -04:00
|
|
|
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
|
|
|
|
|
|
|
set (SRCS
|
|
|
|
IncrementalRedstoneSimulator.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set (HDRS
|
|
|
|
CommandBlockHandler.h
|
|
|
|
DoorHandler.h
|
|
|
|
DropSpenserHandler.h
|
|
|
|
IncrementalRedstoneSimulator.h
|
|
|
|
RedstoneHandler.h
|
|
|
|
RedstoneSimulatorChunkData.h
|
|
|
|
SolidBlockHandler.h
|
|
|
|
RedstoneComparatorHandler.h
|
|
|
|
RedstoneRepeaterHandler.h
|
|
|
|
RedstoneBlockHandler.h
|
|
|
|
RedstoneTorchHandler.h
|
|
|
|
RedstoneWireHandler.h
|
|
|
|
RedstoneLampHandler.h
|
|
|
|
RedstoneToggleHandler.h
|
|
|
|
PistonHandler.h
|
|
|
|
SmallGateHandler.h
|
|
|
|
NoteBlockHandler.h
|
|
|
|
TNTHandler.h
|
|
|
|
TrappedChestHandler.h
|
|
|
|
TripwireHookHandler.h
|
|
|
|
PoweredRailHandler.h
|
|
|
|
PressurePlateHandler.h
|
|
|
|
)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
add_library(IncrementalRedstoneSimulator ${SRCS} ${HDRS})
|
|
|
|
endif()
|
|
|
|
|