Skip to content

Commit

Permalink
Fix win32 linking and run test automatically in AppVayor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarex committed Jul 22, 2014
1 parent 4722988 commit 4d0571f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ if(CMAKE_BUILD_TYPE MATCHES Release)
endif (HAS_LTO_FLAG)
endif()

if (NOT WIN32)
add_definitions(-DBOOST_TEST_DYN_LINK)
endif()

# Configuring compilers
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ build_script:
- nmake tests
- nmake benchmarks
- if "%APPVEYOR_REPO_BRANCH%"=="develop" (7z a %P%/osrm_%Configuration%.zip *.exe *.pdb %P%/libs/bin/*.dll -tzip)
- set PATH=%PATH%;c:/projects/osrm/libs/bin
- cd c:/projects/osrm/build
- datastructure-tests.exe

test: off

Expand Down

0 comments on commit 4d0571f

Please sign in to comment.