757231cc6e
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
39 lines
774 B
CMake
39 lines
774 B
CMake
project (Cuberite)
|
|
|
|
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})
|
|
target_link_libraries(IncrementalRedstoneSimulator fmt::fmt)
|
|
endif()
|
|
|