1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-09 17:30:43 +00:00

Moved CLI11 to the common folder

This commit is contained in:
Tim Sarbin 2019-02-28 17:35:08 -05:00
parent 22b8136cf9
commit cf05db6759
4 changed files with 4642 additions and 4 deletions

View File

@ -25,6 +25,7 @@ project(OpenDiablo2 VERSION 0.1
DESCRIPTION "An open source Diablo2 engine.")
# ----------------------------------------------------------------------------------------------------------------------
enable_language(CXX)
# Freaky relocatable exe stuff -----------------------------------------------------------------------------------------
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "")

4641
src/Common/CLI11/CLI11.hpp Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,6 @@ set (HEADERS
include/OpenDiablo2.Game/Scenes/D2MainMenu.h
)
find_package(CLI11 REQUIRED)
add_executable(OpenDiablo2.Game ${SOURCES} ${HEADERS})
include_directories(OpenDiablo2.Game
@ -31,7 +29,6 @@ include_directories(OpenDiablo2.Game
target_link_libraries(OpenDiablo2.Game
OpenDiablo2.SDL2
storm
CLI11::CLI11
stdc++fs
)

View File

@ -12,7 +12,6 @@ set (HEADERS
)
find_package(SDL2 REQUIRED)
find_package(spdlog CONFIG REQUIRED)
add_library(OpenDiablo2.SDL2 SHARED ${SOURCES} ${HEADERS})