1
0

Upgrade to C++17 [CMake] (#4717)

* Make our CMake slightly less insane
This commit is contained in:
Tiger Wang
2020-05-16 20:59:10 +01:00
committed by GitHub
parent 21ef9e3819
commit 9e8598fb1c
55 changed files with 457 additions and 762 deletions

View File

@@ -1,9 +1,8 @@
target_sources(
${CMAKE_PROJECT_NAME} PRIVATE
set (SRCS
IncrementalRedstoneSimulator.cpp
)
set (HDRS
CommandBlockHandler.h
DoorHandler.h
DropSpenserHandler.h
@@ -29,9 +28,3 @@ set (HDRS
PoweredRailHandler.h
PressurePlateHandler.h
)
if(NOT MSVC)
add_library(IncrementalRedstoneSimulator ${SRCS} ${HDRS})
target_link_libraries(IncrementalRedstoneSimulator fmt::fmt)
endif()