Skip to content

Commit 9ee61c0

Browse files
authored
Merge pull request #13 from thclark/v0.0.2
V0.0.2
2 parents ef0186e + c75d696 commit 9ee61c0

24 files changed

Lines changed: 153 additions & 23865 deletions

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
####################### Build directories
2-
build/
3-
lib/
4-
bin/
2+
lib
3+
bin
54
cmake-build-debug
65
cmake-build-release
76

.gitmodules

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +0,0 @@
1-
[submodule "source/cpr"]
2-
path = source/cpr
3-
url = https://github.com/whoshuu/cpr.git
4-
[submodule "source/json"]
5-
path = source/json
6-
url = https://github.com/nlohmann/json.git

CMakeLists.txt

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,16 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
1111
set(CMAKE_VERBOSE_MAKEFILE ON)
1212

1313

14-
# Add directories where third party tools exist
15-
set(THIRD_PARTY_DIR ${CMAKE_SOURCE_DIR}/../thirdparty)
16-
message("-- Defined THIRD_PARTY_DIR: ${THIRD_PARTY_DIR}")
17-
18-
19-
if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
20-
21-
# Set run-time library building default to static. This only applies to MSVS compiler,
22-
# since all google units have default MT.
23-
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
24-
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
25-
26-
# If windows, set find_library_suffixes to both static and shared(.lib; .dll)
27-
set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_SHARED_LIBRARY_SUFFIX} ${CMAKE_STATIC_LIBRARY_SUFFIX})
28-
29-
endif()
14+
# Add third party tools required by conan
15+
message("-- Adding dependencies with conan. Make sure you've called `conan install . --install-folder ${CMAKE_BINARY_DIR}`")
16+
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
17+
conan_basic_setup()
3018

3119

3220
# Add include directories so the test routines can pick up the library contents
3321
include_directories(source)
3422

3523

36-
# Add the souce and test directories
24+
# Add the source and test directories
3725
add_subdirectory(source)
3826
add_subdirectory(test)

cmake/FindGlog.cmake

Lines changed: 0 additions & 152 deletions
This file was deleted.

cmake/FindMKL.cmake

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)