project(toolbox)
cmake_minimum_required(VERSION 3.5)

# Tests of the code in this project are located in the tests subdirectory
add_subdirectory(tests EXCLUDE_FROM_ALL)

# Include common project setup
include(${CMAKE_CURRENT_LIST_DIR}/cmake/ProjectCommon.cmake)

# Add the library and all the source files in this directory
add_library(${PROJECT_NAME}
  ${CMAKE_CURRENT_LIST_DIR}/Endian.cpp
  ${CMAKE_CURRENT_LIST_DIR}/Log.cpp
  ${CMAKE_CURRENT_LIST_DIR}/OnlineStatistics.cpp)

# Other toolbox source files are in the networking directory, the CMakeLists.txt
# file in there will pick those up
include(${CMAKE_CURRENT_LIST_DIR}/networking/CMakeLists.txt)

# Not sure where else to put this so put it here for now
add_executable(scheduler-toy EXCLUDE_FROM_ALL scheduler-toy.cpp)

project(toolbox)

# CMake 2.6 is the oldest version of CMake that still has documentation
# available online
cmake_minimum_required(VERSION 2.6)

# Tests of the code in this project are located in the tests subdirectory
add_subdirectory(tests EXCLUDE_FROM_ALL)

# Include common project setup
include(${CMAKE_CURRENT_LIST_DIR}/cmake/ProjectCommon.cmake)

# Add the library and all the source files in this directory
add_library(${PROJECT_NAME}
  ${CMAKE_CURRENT_LIST_DIR}/Endian.cpp
  ${CMAKE_CURRENT_LIST_DIR}/Log.cpp
  ${CMAKE_CURRENT_LIST_DIR}/OnlineStatistics.cpp)

# Other toolbox source files are in the networking directory, the CMakeLists.txt
# file in there will pick those up
include(${CMAKE_CURRENT_LIST_DIR}/networking/CMakeLists.txt)

# Not sure where else to put this so put it here for now
add_executable(scheduler-toy EXCLUDE_FROM_ALL scheduler-toy.cpp)

Set required version more sensically
Set required version more sensically
