Skip to content

Commit

Permalink
Now using C++17 entt version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Apr 12, 2020
1 parent b4a0ea6 commit fd7f880
Show file tree
Hide file tree
Showing 38 changed files with 82 additions and 9,502 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "external/entt"]
path = external/entt
url = git://github.com/Unarelith/entt.git
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(DEBUG_GCC_FLAGS -g -Og -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
set(RELEASE_GCC_FLAGS -O3)
set(RELWITHDEB_GCC_FLAGS -g -O3 -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)

#------------------------------------------------------------------------------
# Setting default build type
Expand Down Expand Up @@ -185,6 +185,8 @@ endif ()
#------------------------------------------------------------------------------
# Subdirectories
#------------------------------------------------------------------------------
add_subdirectory(external/entt)

add_subdirectory(source/common)
add_subdirectory(source/server)
add_subdirectory(source/client)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ The long-term goal of this project is to provide a viable alternative to Minecra
- [SFML](https://www.sfml-dev.org/) (only used for network)
- [Lua](http://www.lua.org)
- _Linux users: Check your distribution repositories for packages._
- Run `git submodule update --init --recursive`
- Run `cmake .`
- Run `make -j8`
- Run the client with `./openminer`
Expand Down
1 change: 1 addition & 0 deletions external/entt
Submodule entt added at 76707f
16 changes: 0 additions & 16 deletions external/entt/config/config.h

This file was deleted.

111 changes: 0 additions & 111 deletions external/entt/core/algorithm.hpp

This file was deleted.

53 changes: 0 additions & 53 deletions external/entt/core/family.hpp

This file was deleted.

121 changes: 0 additions & 121 deletions external/entt/core/hashed_string.hpp

This file was deleted.

Loading

0 comments on commit fd7f880

Please sign in to comment.