Cleanup build scripts
This commit is contained in:
parent
ad007007f8
commit
6f31f88db3
2 changed files with 4 additions and 4 deletions
|
@ -116,11 +116,11 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
|
|||
find_package(UV REQUIRED)
|
||||
|
||||
if (WIN32)
|
||||
find_package(Boost 1.62.0 COMPONENTS system date_time regex REQUIRED)
|
||||
else()
|
||||
find_package(Boost 1.62.0 COMPONENTS system REQUIRED)
|
||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||
endif()
|
||||
|
||||
find_package(Boost 1.62.0 COMPONENTS system REQUIRED)
|
||||
|
||||
include(cmake/flags.cmake)
|
||||
|
||||
if (WITH_TLS)
|
||||
|
|
|
@ -25,7 +25,7 @@ build_script:
|
|||
- mkdir build
|
||||
- cd build
|
||||
- set CMAKE_PREFIX_PATH=c:\xmrigCC-deps\msvc2017\libuv\x64\;c:\xmrigCC-deps\msvc2017\libmicrohttpd\x64\;c:\xmrigCC-deps\msvc2017\openssl\x64\
|
||||
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 .. -DBOOST_ROOT=C:\Libraries\boost_1_66_0 -DBoost_DATE_TIME_LIBRARY_RELEASE=C:\Libraries\boost_1_66_0\lib64-msvc-14.1\libboost_date_time-vc141-mt-s-x64-1_66.lib -DBoost_REGEX_LIBRARY_RELEASE=C:\Libraries\boost_1_66_0\lib64-msvc-14.1\libboost_regex-vc141-mt-s-x64-1_66.lib -DBoost_SYSTEM_LIBRARY_RELEASE=C:\Libraries\boost_1_66_0\lib64-msvc-14.1\libboost_system-vc141-mt-s-x64-1_66.lib
|
||||
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 .. -DBOOST_ROOT=C:\Libraries\boost_1_66_0
|
||||
- msbuild xmrig.sln /p:Configuration=Release
|
||||
|
||||
after_build:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue