Skip to content

Commit

Permalink
travis experimental build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Oct 1, 2018
1 parent e70c258 commit 2659edb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ matrix:
env: COMPILER=clang VERSION=6.0 CXXFLAGS="-DJSONCONS_NO_DEPRECATED"

- os: osx
osx_image: xcode8
osx_image: xcode8.1
compiler: clang

before_install:
Expand Down
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ message(STATUS "jsoncons v${${PROJECT_NAME}_VERSION}")
# Build
# =====

set(JSONCONS_HEADERS
${JSONCONS_INCLUDE_DIR}/jsoncons/json.hpp
)

file(GLOB_RECURSE JSONCONS_HEADERS ${JSONCONS_INCLUDE_DIR}/*.hpp)

add_library(jsoncons INTERFACE)
target_include_directories(jsoncons INTERFACE $<BUILD_INTERFACE:${JSONCONS_INCLUDE_DIR}>
Expand Down
8 changes: 4 additions & 4 deletions include/jsoncons/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#include <iostream>

#define XSIMD_VERSION_MAJOR 0
#define XSIMD_VERSION_MINOR 109
#define XSIMD_VERSION_PATCH 0
#define JSONCONS_VERSION_MAJOR 0
#define JSONCONS_VERSION_MINOR 110
#define JSONCONS_VERSION_PATCH 1

namespace jsoncons {

Expand Down Expand Up @@ -45,7 +45,7 @@ struct versioning_info
inline
versioning_info version()
{
static versioning_info ver(0, 110, 1);
static versioning_info ver(JSONCONS_VERSION_MAJOR, JSONCONS_VERSION_MINOR, JSONCONS_VERSION_PATCH);
return ver;
}

Expand Down
5 changes: 0 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ target_include_directories (Catch INTERFACE ${CATCH_INCLUDE_DIR})

file(GLOB_RECURSE JSONCONS_TESTS_SOURCES ${JSONCONS_TESTS_SOURCE_DIR}/*.cpp)

# set(JSONCONS_TESTS_SOURCES
# src/tests_main.cpp
# src/json_stream_reader_tests.cpp
# )

set(JSONCONS_TARGET test_jsoncons)
add_executable(${JSONCONS_TARGET} EXCLUDE_FROM_ALL ${JSONCONS_TESTS_SOURCES} ${JSONCONS_HEADERS})
target_include_directories (${JSONCONS_TARGET} PUBLIC ${JSONCONS_INCLUDE_DIR}
Expand Down

0 comments on commit 2659edb

Please sign in to comment.