Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
cmake_minimum_required(VERSION 3.0.0)
project (inclusive VERSION "0.0.1")

#set (CMAKE_CXX_STANDARD 14)
add_compile_options(-std=c++14)
if(MSVC)
set(CMAKE_CXX_STANDARD 14)
# avoid the boost warning, it will disable boost from using IOCP and newer APIs.
add_definitions(-D_WIN32_WINNT=0x0601)
else()
add_compile_options(-std=c++14)
endif()

if(UNIX AND NOT APPLE)
set(LINUX TRUE)
Expand All @@ -22,17 +27,15 @@ find_package(Threads REQUIRED)


# Boost
find_package(Boost 1.61 COMPONENTS system filesystem)
include_directories (AFTER ${Boost_INCLUDE_DIRS})
add_definitions(-DBOOST_ASIO_NO_DEPRECATED)
find_package(Boost 1.73.0 COMPONENTS system filesystem process)
include_directories(AFTER ${Boost_INCLUDE_DIRS})


# Shippedwith
add_subdirectory(deps/mstch)
include_directories(${mstch_INCLUDE_DIR})

include_directories(AFTER ${CMAKE_CURRENT_LIST_DIR}/deps/boost-process/include)
include_directories(AFTER ${CMAKE_CURRENT_LIST_DIR}/deps/nlohmann-json/src)

include_directories(BEFORE ${CMAKE_CURRENT_LIST_DIR}/src)
add_executable(inglued src/inglued.cpp)
target_link_libraries(inglued ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} mstch)
34 changes: 0 additions & 34 deletions deps/boost-process/.gitignore

This file was deleted.

119 changes: 0 additions & 119 deletions deps/boost-process/.travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions deps/boost-process/README.md

This file was deleted.

64 changes: 0 additions & 64 deletions deps/boost-process/doc/Jamfile.jam

This file was deleted.

11 changes: 0 additions & 11 deletions deps/boost-process/doc/acknowledgements.qbk

This file was deleted.

82 changes: 0 additions & 82 deletions deps/boost-process/doc/concepts.qbk

This file was deleted.

Loading