This repository was archived by the owner on Mar 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ configure_file(${CMAKE_SOURCE_DIR}/cmake/libpmemobj++.pc.in
259259 ${CMAKE_CURRENT_BINARY_DIR} /libpmemobj++.pc @ONLY )
260260
261261install (FILES ${CMAKE_CURRENT_BINARY_DIR} /libpmemobj++.pc
262- CONFIGURATIONS Release Debug
263262 DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig)
264263
265264configure_file (
Original file line number Diff line number Diff line change 11version : 1.4.{build}
2- os : Visual Studio 2015
2+ os : Visual Studio 2017
33platform : x64
44
55environment :
@@ -24,18 +24,21 @@ before_build:
2424- cmake . -Bbuild -G "%GENERATOR%"
2525 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
2626 -DCMAKE_INSTALL_PREFIX=c:/install/libpmemobj-cpp
27+ -DTESTS_USE_FORCED_PMEM=ON
2728
2829build_script :
2930- msbuild build/ALL_BUILD.vcxproj /property:Configuration=%CONFIGURATION%
31+ /verbosity:minimal
3032
3133test_script :
3234- cd build
3335- ctest -C %CONFIGURATION% --output-on-failure --timeout 540
34- - msbuild INSTALL.vcxproj
36+ - msbuild INSTALL.vcxproj /verbosity:minimal
3537- cd ..
3638# build standalone example
3739- cd examples/map_cli
3840- cmake . -G "%GENERATOR%"
3941 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
4042 -DCMAKE_PREFIX_PATH=c:/install/libpmemobj-cpp
41- - msbuild ALL_BUILD.vcxproj
43+ -DTESTS_USE_FORCED_PMEM=ON
44+ - msbuild ALL_BUILD.vcxproj /verbosity:minimal
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346else ()
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346else ()
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346
Original file line number Diff line number Diff line change 11#
2- # Copyright 2018, Intel Corporation
2+ # Copyright 2018-2019 , Intel Corporation
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -37,7 +37,10 @@ set(CMAKE_CXX_STANDARD 11)
3737
3838include (FindThreads )
3939
40- find_package (PkgConfig QUIET )
40+ if (NOT WIN32 )
41+ find_package (PkgConfig QUIET )
42+ endif ()
43+
4144if (PKG_CONFIG_FOUND)
4245 pkg_check_modules (LIBPMEMOBJ++ REQUIRED libpmemobj++ )
4346else ()
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ add_check_whitespace(tests-common ${CMAKE_CURRENT_SOURCE_DIR}/common/*.*pp ${CMA
3838add_check_whitespace (tests-cmake ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt )
3939
4040if (MSVC_VERSION )
41- add_flag (-W4 )
41+ add_flag (-W3 )
4242 add_flag (-bigobj ) # fix C1128 raised for some test binaries
4343else ()
4444 add_flag (-Wall )
You can’t perform that action at this time.
0 commit comments