Skip to content

Commit

Permalink
Merge pull request #48 from Forceflow/develop
Browse files Browse the repository at this point in the history
Pulling in develop branch: Drop C++11 requirement
  • Loading branch information
Forceflow authored May 22, 2020
2 parents 18f908a + c35214f commit d1e9aa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ project(libmorton CXX)
option(LIBMORTON_BUILD_TESTS "Build unit tests for libmorton" ON)

add_library(libmorton INTERFACE)
target_compile_features(libmorton
INTERFACE
cxx_std_11
)
target_compile_options(libmorton
INTERFACE
# gcc and clang
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Libmorton v0.2.3
# Libmorton v0.2.4
[![Build Status](https://travis-ci.org/Forceflow/libmorton.svg?branch=master)](https://travis-ci.org/Forceflow/libmorton) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/forceflow)

* Libmorton is a **C++11 header-only library** with methods to efficiently encode/decode 64, 32 and 16-bit Morton codes and coordinates, in 2D and 3D. *Morton order* is also known as *Z-order* or *[the Z-order curve](https://en.wikipedia.org/wiki/Z-order_curve)*.
* Libmorton is a **C++ header-only library** with methods to efficiently encode/decode 64, 32 and 16-bit Morton codes and coordinates, in 2D and 3D. *Morton order* is also known as *Z-order* or *[the Z-order curve](https://en.wikipedia.org/wiki/Z-order_curve)*.
* Libmorton is a **lightweight and portable** library - the only dependencies are standard C++ headers. Architecture-specific optimizations are available.
* More info and some benchmarks in these blogposts: [*Morton encoding*](http://www.forceflow.be/2013/10/07/morton-encodingdecoding-through-bit-interleaving-implementations/), [*Libmorton*](http://www.forceflow.be/2016/01/18/libmorton-a-library-for-morton-order-encoding-decoding/) and [*BMI2 instruction set*](http://www.forceflow.be/2016/11/25/using-the-bmi2-instruction-set-to-encode-decode-morton-codes/)

Expand Down
2 changes: 1 addition & 1 deletion test/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CXX=g++
CFLAGS=-O3 -m64 -std=c++11 -I ../libmorton/include/
CFLAGS=-O3 -m64 -I ../libmorton/include/

all: test bmi2 avx512

Expand Down

0 comments on commit d1e9aa0

Please sign in to comment.