Skip to content

Commit

Permalink
fix builds macos and ios after integrating windows ci modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
KhalilBellakrid committed Apr 17, 2018
1 parent 722caac commit 4a2924e
Show file tree
Hide file tree
Showing 44 changed files with 21 additions and 10,186 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
[submodule "toolchains/polly"]
path = toolchains/polly
url = [email protected]:ruslo/polly.git
[submodule "tools/gyp"]
path = tools/gyp
url = [email protected]:bnoordhuis/gyp.git
[submodule "core/lib/spdlog"]
path = core/lib/spdlog
url = [email protected]:gabime/spdlog.git
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ list(APPEND INCLUDE_DIRECTORIES core/test/include/)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
set(CMAKE_MACOSX_RPATH 1)

string(FIND "${CMAKE_OSX_SYSROOT}" "iphone" IS_IOS)
if(IS_IOS GREATER_EQUAL 0)
set(BUILD_TESTING OFF CACHE BOOL "iOS build fail otherwise" FORCE)
endif()

add_subdirectory(doc)
add_subdirectory(core)
add_subdirectory(qt-host)
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 1.0.{build}
branches:
only:
- ci-integration
- ci-win-integration
- windows-ci
image:
- Visual Studio 2015
configuration:
Expand Down
4 changes: 2 additions & 2 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_subdirectory(lib)
add_subdirectory(src)

string(FIND "${CMAKE_OSX_SYSROOT}" "iphone" IS_IOS)
if (IS_IOS LESS 0)
if(IS_IOS LESS 0)
enable_testing()
add_subdirectory(test)
endif ()
endif()
2 changes: 1 addition & 1 deletion core/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ add_subdirectory(sqlite3)
add_subdirectory(openssl)
add_subdirectory(snappy)
add_subdirectory(leveldb)

add_subdirectory(spdlog)

# SOCI configuration

set(SOCI_STATIC ON)
set(SOCI_SHARED OFF)

Expand Down
64 changes: 0 additions & 64 deletions core/lib/spdlog/.gitignore

This file was deleted.

90 changes: 0 additions & 90 deletions core/lib/spdlog/.travis.yml

This file was deleted.

77 changes: 0 additions & 77 deletions core/lib/spdlog/include/spdlog/async_logger.h

This file was deleted.

Loading

0 comments on commit 4a2924e

Please sign in to comment.