AS
Size: a a a
AS
D
DB
DB
AS
D
UT
AS
AS
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg integrate install
.\vcpkg install boost-pool boost-geometry
cmake_minimum_required(VERSION 3.10)
project(test)
find_package(Boost REQUIRED)
add_executable(test main.cpp)
target_link_libraries(test Boost::boost)
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=<путь к vcpkg>/scripts/buildsystems/vcpkg.cmake ..
cmake --build . --target ALL_BUILD --config Release
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
[requires]
boost_pool/1.66.0@bincrafters/testing
boost_geometry/1.66.0@bincrafters/testing
[generators]
cmake
cmake_minimum_required(VERSION 3.10)
project(test)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_executable(test main.cpp)
target_link_libraries(test ${CONAN_LIBS})
mkdir build
cd build
conan install ..
cmake ..
cmake --build . --target ALL_BUILD --config Release
D
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg integrate install
.\vcpkg install boost-pool boost-geometry
cmake_minimum_required(VERSION 3.10)
project(test)
find_package(Boost REQUIRED)
add_executable(test main.cpp)
target_link_libraries(test Boost::boost)
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=<путь к vcpkg>/scripts/buildsystems/vcpkg.cmake ..
cmake --build . --target ALL_BUILD --config Release
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
[requires]
boost_pool/1.66.0@bincrafters/testing
boost_geometry/1.66.0@bincrafters/testing
[generators]
cmake
cmake_minimum_required(VERSION 3.10)
project(test)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_executable(test main.cpp)
target_link_libraries(test ${CONAN_LIBS})
mkdir build
cd build
conan install ..
cmake ..
cmake --build . --target ALL_BUILD --config Release
AS
D
MN
SD
s
MN
s
s
SD
s