cmake_minimum_required(VERSION 3.4)
project(paxos)

set(SOURCES
    acceptor.cpp
    proposer.cpp
    learner.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_library(paxos SHARED ${SOURCES})

cmake_minimum_required(VERSION 3.4)
project(paxos)

set(SOURCES
    acceptor.cpp
    proposer.cpp
    learner.cpp
)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_library(paxos SHARED ${SOURCES})

set_property(TARGET paxos PROPERTY CXX_STANDARD 11)

Set project to be compiled with C++11 standard
Set project to be compiled with C++11 standard
