******************************************************************************** conan test cci-38c701f4\recipes\battery-embed\all\test_package\conanfile.py battery-embed/1.2.12@#7366af872274e52d65b541064f878948 -pr C:/J/workspace/prod-v1/bsr/17733/febff/profile_windows_16_md_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\workspace\prod-v1\bsr\17733\acfce\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\workspace\prod-v1\bsr\17733\acfce\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True cmake/3.29.0: Not found in local cache, looking in remotes... cmake/3.29.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cmake/3.29.0: Downloaded recipe revision a055de871f63a7904aa3dcb9f3c61242 Version ranges solved cmake/* versions found in 'conan-center' remote Version range '>=3.21 <4' required by 'battery-embed/1.2.12 (test package)' resolved to 'cmake/3.29.0' in remote 'conan-center' battery-embed/1.2.12 (test package): Installing package Requirements battery-embed/1.2.12 from local cache - Cache Packages battery-embed/1.2.12:3475bd55b91ae904ac96fde0f106a136ab951a5e - Download Build requirements cmake/3.29.0 from 'conan-center' - Downloaded Build requirements packages cmake/3.29.0:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Download Installing (downloading, building) binaries... battery-embed/1.2.12: Retrieving package 3475bd55b91ae904ac96fde0f106a136ab951a5e from remote 'c3i_PR-22698' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz battery-embed/1.2.12: Package installed 3475bd55b91ae904ac96fde0f106a136ab951a5e battery-embed/1.2.12: Downloaded package revision 202740e83a77806bee29f844c693e3e0 cmake/3.29.0: Retrieving package ca33edce272a279b24f87dc0d4cf5bbdcffbc187 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cmake/3.29.0: Package installed ca33edce272a279b24f87dc0d4cf5bbdcffbc187 cmake/3.29.0: Downloaded package revision b4d59adc8592316c9ffddb0ba55ab736 cmake/3.29.0: Appending PATH environment variable: C:\J\workspace\prod-v1\bsr\17733\acfce\.conan\data\cmake\3.29.0\_\_\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\bin battery-embed/1.2.12 (test package): Applying build-requirement: cmake/3.29.0 battery-embed/1.2.12 (test package): Generator 'CMakeToolchain' calling 'generate()' battery-embed/1.2.12 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' battery-embed/1.2.12 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' battery-embed/1.2.12 (test package): Generator 'VirtualRunEnv' calling 'generate()' battery-embed/1.2.12 (test package): Generator 'CMakeDeps' calling 'generate()' battery-embed/1.2.12 (test package): Generator txt created conanbuildinfo.txt battery-embed/1.2.12 (test package): Aggregating env generators battery-embed/1.2.12 (test package): Generated conaninfo.txt battery-embed/1.2.12 (test package): Generated graphinfo Using lockfile: 'C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build\generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK battery-embed/1.2.12 (test package): Calling build() battery-embed/1.2.12 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\." ----------------- -- Using Conan toolchain: C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'battery-embed::battery-embed' -- Conan: Including build module from 'C:/J/workspace/prod-v1/bsr/17733/acfce/.conan/data/battery-embed/1.2.12/_/_/package/3475bd55b91ae904ac96fde0f106a136ab951a5e/lib/cmake/battery-embed/CMakeLists.txt' -- Configuring done (4.5s) -- Generating done (0.0s) -- Build files have been written to: C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/build battery-embed/1.2.12 (test package): CMake command: cmake --build "C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build" --config Release ----Running------ > cmake --build "C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build" --config Release ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. 1>Checking Build System Generating embed/autogen/test_package_test_package_cpp.cpp Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/CMakeLists.txt test_package.cpp test_package_test_package_cpp.cpp embed_impl.cpp test_package.vcxproj -> C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build\Release\test_package.exe Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-38c701f4/recipes/battery-embed/all/test_package/CMakeLists.txt battery-embed/1.2.12 (test package): Running test() ----Running------ > "C:\J\workspace\prod-v1\bsr\cci-38c701f4\recipes\battery-embed\all\test_package\build\generators\conanrun.bat" && Release\test_package ----------------- #include #include #include #include "battery/embed.hpp" int main(void) { std::cout << b::embed<"test_package.cpp">() << std::endl; return EXIT_SUCCESS; } CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 battery-embed/1.2.12 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior battery-embed/1.2.12 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior