jbeder / yaml-cpp

A YAML parser and emitter in C++
MIT License
5.17k stars 1.86k forks source link

"Hide most of non-public..." PR breaks Windows build #1046

Closed noelotterness closed 3 years ago

noelotterness commented 3 years ago

PR #984 broke the Windows use of the yaml-cpp branch. It was fixed when it was backed out on Sept 28th and it has broken the Windows usage again with the revert of the revert. Here is what happens with the broken submission:

(ClCompile target) -> 
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
jbeder commented 3 years ago

Can you be more specific? Appveyor says it's still passing: https://ci.appveyor.com/project/jbeder/yaml-cpp

On Mon, Oct 11, 2021 at 3:42 PM noelotterness @.***> wrote:

PR #984 https://github.com/jbeder/yaml-cpp/pull/984 broke the Windows use of the yaml-cpp branch. It was fixed when it was backed out on Sept 28th and it has broken the Windows usage again with the revert of the revert.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jbeder/yaml-cpp/issues/1046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUBVZ7DAPPXU3M5QCQY3UGND5BANCNFSM5FZA37IQ .

noelotterness commented 3 years ago

Here is the part of my GitHub action that pulls down the yaml-ccp (ignore the "ref:" section as I had to add that to get the build to work).

        if: steps.dependency-cache.outputs.cache-hit != 'true'
        uses: actions/checkout@v2
        with:
          repository: jbeder/yaml-cpp
          ref: 'yaml-cpp-0.7.0'
          path: yaml-cpp

      - name: Install yaml-cpp dependency
        if: steps.dependency-cache.outputs.cache-hit != 'true'
        run:  |
          cd $Env:GITHUB_WORKSPACE\yaml-cpp
          md build
          cd build
          cmake -G"Visual Studio 16 2019" ..
          cmake --build .
          msbuild -property:Configuration=Release,Processor=x64 ALL_BUILD.vcxproj

Then the files that use the yaml-ccp just include:

#include "yaml-cpp\yaml.h"

Prior to the PR, the latest all worked and then after the PR, the build is broken.

noelotterness commented 3 years ago

I should have included the following compile line:

ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\CL.exe /c /I"C:\Program Files\OpenSSL\include" /I"..\jwt-cpp\include" /I"..\..\jwt-cpp\include" /I"..\..\vcpkg\packages\cpprestsdk_x64-windows\include" /I"..\vcpkg\packages\cpprestsdk_x64-windows\include" /I"..\..\yaml-cpp\include" /I"..\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\main" /I"D:\a\IIS-Module\IIS-Module\main\include" /Zi /nologo /W1 /WX- /diagnostics:column /O2 /Oi /D IIS_UNIT_TEST_BUILD /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"x64\Test\\" /Fd"x64\Test\vc142.pdb" /external:W1 /Gd /TP /FC /errorReport:queue dllmain.cpp pch.cpp src\Bucket.cpp src\Cache.cpp src\ConfigReader.cpp src\EventLogger.cpp src\MavericsConfig.cpp src\MavericsModule.cpp src\MavericsUtil.cpp test\CacheTests.cpp
noelotterness commented 3 years ago

I am using Visual Studio 2019, version 16.11.4 and it does not look like your test suites include that.

jbeder commented 3 years ago

Can you post the full error logs?

On Mon, Oct 11, 2021 at 4:30 PM noelotterness @.***> wrote:

I am using Visual Studio 2019, version 16.11.4 and it does not look like your test suites include that.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jbeder/yaml-cpp/issues/1046#issuecomment-940457009, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUBSDNBQ7LFF3Y75Q2VTUGNJQDANCNFSM5FZA37IQ .

jbeder commented 3 years ago

@pinotree

noelotterness commented 3 years ago
4m 0s
Run cd $Env:GITHUB_WORKSPACE\yaml-cpp

    Directory: D:\a\IIS-Module\IIS-Module\yaml-cpp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          10/11/2021  8:16 PM                build
-- The CXX compiler identification is MSVC 19.29.30133.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/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - not found
-- Found Threads: TRUE  
-- The C compiler identification is MSVC 19.29.30133.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: C:/hostedtoolcache/windows/Python/3.7.9/x64/python.exe (found version "3.7.9") 
-- Configuring done
-- Generating done
-- Build files have been written to: D:/a/IIS-Module/IIS-Module/yaml-cpp/build
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking File Globs
  Checking Build System
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googlemock/CMakeLists.txt
  gtest-all.cc
  gmock-all.cc
  Generating Code...
  gmock.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Debug\gmockd.lib
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googlemock/CMakeLists.txt
  gtest-all.cc
  gmock-all.cc
  gmock_main.cc
  Generating Code...
  gmock_main.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Debug\gmock_maind.lib
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googletest/CMakeLists.txt
  gtest-all.cc
  gtest.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Debug\gtestd.lib
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googletest/CMakeLists.txt
  gtest_main.cc
  gtest_main.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Debug\gtest_maind.lib
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/CMakeLists.txt
  graphbuilder.cpp
  graphbuilderadapter.cpp
  binary.cpp
  convert.cpp
  depthguard.cpp
  directives.cpp
  emit.cpp
  emitfromevents.cpp
  emitter.cpp
  emitterstate.cpp
  emitterutils.cpp
  exceptions.cpp
  exp.cpp
  memory.cpp
  node.cpp
  node_data.cpp
  nodebuilder.cpp
  nodeevents.cpp
  null.cpp
  ostream_wrapper.cpp
  Generating Code...
  Compiling...
  parse.cpp
  parser.cpp
  regex_yaml.cpp
  scanner.cpp
  scanscalar.cpp
  scantag.cpp
  scantoken.cpp
  simplekey.cpp
  singledocparser.cpp
  stream.cpp
  tag.cpp
  Generating Code...
  yaml-cpp.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\Debug\yaml-cppd.lib
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
  parse.cpp
  yaml-cpp-parse.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Debug\parse.exe
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
  read.cpp
  yaml-cpp-read.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Debug\read.exe
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
  sandbox.cpp
  yaml-cpp-sandbox.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Debug\sandbox.exe
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/CMakeLists.txt
  emitter_test.cpp
  encoding_test.cpp
  error_messages_test.cpp
  gen_emitter_test.cpp
  handler_spec_test.cpp
  handler_test.cpp
  load_node_test.cpp
  node_spec_test.cpp
  main.cpp
  node_test.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\test\node\node_test.cpp(549,30): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj]
  ostream_wrapper_test.cpp
  parser_test.cpp
  regex_test.cpp
  Generating Code...
  yaml-cpp-tests.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\Debug\yaml-cpp-tests.exe
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/CMakeLists.txt
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/11/2021 8:17:35 PM.
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "x64\Release\ZERO_CHECK\".
  Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
  Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
PreBuildEvent:
  Checking File Globs
  setlocal
  "C:\Program Files\CMake\bin\cmake.exe" -P D:/a/IIS-Module/IIS-Module/yaml-cpp/build/CMakeFiles/VerifyGlobs.cmake
  if %errorlevel% neq 0 goto :cmEnd
  :cmEnd
  endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
  :cmErrorLevel
  exit /b %1
  :cmDone
  if %errorlevel% neq 0 goto :VCEnd
  :VCEnd
CustomBuild:
  Checking Build System
FinalizeBuildStatus:
  Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
  Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ZERO_CHECK.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googlemock\gmock.vcxproj" (3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "gmock.dir\Release\".
  Creating directory "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\".
  Creating directory "gmock.dir\Release\gmock.tlog\".
InitializeBuildStatus:
  Creating "gmock.dir\Release\gmock.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googlemock/CMakeLists.txt
MakeDirsForCl:
  Creating directory "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release".
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest" /Zi /nologo /W4 /WX /diagnostics:column /O2 /Ob2 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D NDEBUG /D _UNICODE /D UNICODE /D _WIN32 /D STRICT /D WIN32_LEAN_AND_MEAN /D GTEST_HAS_PTHREAD=0 /D _HAS_EXCEPTIONS=1 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gmock.dir\Release\\" /Fd"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gmock.pdb" /external:W4 /Gd /TP /wd4251 /wd4275 /wd4702 /errorReport:queue  -J "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\src\gtest-all.cc" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\src\gmock-all.cc"
  gtest-all.cc
  gmock-all.cc
  Generating Code...
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock.lib" /NOLOGO /MACHINE:X64  /machine:x64 "gmock.dir\Release\gtest-all.obj"
  "gmock.dir\Release\gmock-all.obj"
  Copying file from "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gmock.pdb" to "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock.pdb".
  gmock.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock.lib
FinalizeBuildStatus:
  Deleting file "gmock.dir\Release\gmock.tlog\unsuccessfulbuild".
  Touching "gmock.dir\Release\gmock.tlog\gmock.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googlemock\gmock.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googlemock\gmock_main.vcxproj" (4) on node 1 (default targets).
PrepareForBuild:
  Creating directory "gmock_main.dir\Release\".
  Creating directory "gmock_main.dir\Release\gmock_main.tlog\".
InitializeBuildStatus:
  Creating "gmock_main.dir\Release\gmock_main.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googlemock/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest" /Zi /nologo /W4 /WX /diagnostics:column /O2 /Ob2 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D NDEBUG /D _UNICODE /D UNICODE /D _WIN32 /D STRICT /D WIN32_LEAN_AND_MEAN /D GTEST_HAS_PTHREAD=0 /D _HAS_EXCEPTIONS=1 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gmock_main.dir\Release\\" /Fd"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gmock_main.pdb" /external:W4 /Gd /TP /wd4251 /wd4275 /wd4702 /errorReport:queue  -J "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\src\gtest-all.cc" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\src\gmock-all.cc" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\src\gmock_main.cc"
  gtest-all.cc
  gmock-all.cc
  gmock_main.cc
  Generating Code...
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock_main.lib" /NOLOGO /MACHINE:X64  /machine:x64 "gmock_main.dir\Release\gtest-all.obj"
  "gmock_main.dir\Release\gmock-all.obj"
  gmock_main.dir\Release\gmock_main.obj
  Copying file from "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gmock_main.pdb" to "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock_main.pdb".
  gmock_main.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gmock_main.lib
FinalizeBuildStatus:
  Deleting file "gmock_main.dir\Release\gmock_main.tlog\unsuccessfulbuild".
  Touching "gmock_main.dir\Release\gmock_main.tlog\gmock_main.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googlemock\gmock_main.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googletest\gtest.vcxproj" (5) on node 1 (default targets).
PrepareForBuild:
  Creating directory "gtest.dir\Release\".
  Creating directory "gtest.dir\Release\gtest.tlog\".
InitializeBuildStatus:
  Creating "gtest.dir\Release\gtest.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googletest/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest" /Zi /nologo /W4 /WX /diagnostics:column /O2 /Ob2 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D NDEBUG /D _UNICODE /D UNICODE /D _WIN32 /D STRICT /D WIN32_LEAN_AND_MEAN /D GTEST_HAS_PTHREAD=0 /D _HAS_EXCEPTIONS=1 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gtest.dir\Release\\" /Fd"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gtest.pdb" /external:W4 /Gd /TP /wd4251 /wd4275 /wd4702 /errorReport:queue  -J "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\src\gtest-all.cc"
  gtest-all.cc
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest.lib" /NOLOGO /MACHINE:X64  /machine:x64 "gtest.dir\Release\gtest-all.obj"
  Copying file from "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gtest.pdb" to "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest.pdb".
  gtest.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest.lib
FinalizeBuildStatus:
  Deleting file "gtest.dir\Release\gtest.tlog\unsuccessfulbuild".
  Touching "gtest.dir\Release\gtest.tlog\gtest.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googletest\gtest.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googletest\gtest_main.vcxproj" (6) on node 1 (default targets).
PrepareForBuild:
  Creating directory "gtest_main.dir\Release\".
  Creating directory "gtest_main.dir\Release\gtest_main.tlog\".
InitializeBuildStatus:
  Creating "gtest_main.dir\Release\gtest_main.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/gtest-1.10.0/googletest/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest" /Zi /nologo /W4 /WX /diagnostics:column /O2 /Ob2 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D NDEBUG /D _UNICODE /D UNICODE /D _WIN32 /D STRICT /D WIN32_LEAN_AND_MEAN /D GTEST_HAS_PTHREAD=0 /D _HAS_EXCEPTIONS=1 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gtest_main.dir\Release\\" /Fd"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gtest_main.pdb" /external:W4 /Gd /TP /wd4251 /wd4275 /wd4702 /errorReport:queue  -J "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\src\gtest_main.cc"
  gtest_main.cc
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest_main.lib" /NOLOGO /MACHINE:X64  /machine:x64 gtest_main.dir\Release\gtest_main.obj
  Copying file from "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\bin\Release\gtest_main.pdb" to "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest_main.pdb".
  gtest_main.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\lib\Release\gtest_main.lib
FinalizeBuildStatus:
  Deleting file "gtest_main.dir\Release\gtest_main.tlog\unsuccessfulbuild".
  Touching "gtest_main.dir\Release\gtest_main.tlog\gtest_main.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\prefix\googletest\gtest_main.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\yaml-cpp.vcxproj" (7) on node 1 (default targets).
PrepareForBuild:
  Creating directory "yaml-cpp.dir\Release\".
  Creating directory "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\Release\".
  Creating directory "yaml-cpp.dir\Release\yaml-cpp static.tlog\".
InitializeBuildStatus:
  Creating "yaml-cpp.dir\Release\yaml-cpp static.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\src" /nologo /W3 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"yaml-cpp.dir\Release\\" /Fd"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\Release\yaml-cpp.pdb" /external:W3 /Gd /TP /wd4127 /wd4355 /errorReport:queue "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\contrib\graphbuilder.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\contrib\graphbuilderadapter.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\binary.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\convert.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\depthguard.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\directives.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\emit.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\emitfromevents.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\emitter.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\emitterstate.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\emitterutils.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\exceptions.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\exp.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\memory.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\node.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\node_data.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\nodebuilder.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\nodeevents.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\null.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\ostream_wrapper.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\parse.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\parser.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\regex_yaml.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\scanner.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\scanscalar.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\scantag.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\scantoken.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\simplekey.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\singledocparser.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\stream.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\src\tag.cpp"
  graphbuilder.cpp
  graphbuilderadapter.cpp
  binary.cpp
  convert.cpp
  depthguard.cpp
  directives.cpp
  emit.cpp
  emitfromevents.cpp
  emitter.cpp
  emitterstate.cpp
  emitterutils.cpp
  exceptions.cpp
  exp.cpp
  memory.cpp
  node.cpp
  node_data.cpp
  nodebuilder.cpp
  nodeevents.cpp
  null.cpp
  ostream_wrapper.cpp
  Generating Code...
  Compiling...
  parse.cpp
  parser.cpp
  regex_yaml.cpp
  scanner.cpp
  scanscalar.cpp
  scantag.cpp
  scantoken.cpp
  simplekey.cpp
  singledocparser.cpp
  stream.cpp
  tag.cpp
  Generating Code...
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\Release\yaml-cpp.lib" /NOLOGO /MACHINE:X64  /machine:x64 "yaml-cpp.dir\Release\graphbuilder.obj"
  "yaml-cpp.dir\Release\graphbuilderadapter.obj"
  "yaml-cpp.dir\Release\binary.obj"
  "yaml-cpp.dir\Release\convert.obj"
  "yaml-cpp.dir\Release\depthguard.obj"
  "yaml-cpp.dir\Release\directives.obj"
  "yaml-cpp.dir\Release\emit.obj"
  "yaml-cpp.dir\Release\emitfromevents.obj"
  "yaml-cpp.dir\Release\emitter.obj"
  "yaml-cpp.dir\Release\emitterstate.obj"
  "yaml-cpp.dir\Release\emitterutils.obj"
  "yaml-cpp.dir\Release\exceptions.obj"
  "yaml-cpp.dir\Release\exp.obj"
  "yaml-cpp.dir\Release\memory.obj"
  "yaml-cpp.dir\Release\node.obj"
  "yaml-cpp.dir\Release\node_data.obj"
  "yaml-cpp.dir\Release\nodebuilder.obj"
  "yaml-cpp.dir\Release\nodeevents.obj"
  "yaml-cpp.dir\Release\null.obj"
  "yaml-cpp.dir\Release\ostream_wrapper.obj"
  "yaml-cpp.dir\Release\parse.obj"
  "yaml-cpp.dir\Release\parser.obj"
  "yaml-cpp.dir\Release\regex_yaml.obj"
  "yaml-cpp.dir\Release\scanner.obj"
  "yaml-cpp.dir\Release\scanscalar.obj"
  "yaml-cpp.dir\Release\scantag.obj"
  "yaml-cpp.dir\Release\scantoken.obj"
  "yaml-cpp.dir\Release\simplekey.obj"
  "yaml-cpp.dir\Release\singledocparser.obj"
  "yaml-cpp.dir\Release\stream.obj"
  "yaml-cpp.dir\Release\tag.obj"
  yaml-cpp.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\Release\yaml-cpp.lib
FinalizeBuildStatus:
  Deleting file "yaml-cpp.dir\Release\yaml-cpp static.tlog\unsuccessfulbuild".
  Touching "yaml-cpp.dir\Release\yaml-cpp static.tlog\yaml-cpp static.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\yaml-cpp.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-parse.vcxproj" (8) on node 1 (default targets).
PrepareForBuild:
  Creating directory "yaml-cpp-parse.dir\Release\".
  Creating directory "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\".
  Creating directory "yaml-cpp-parse.dir\Release\yaml-cpp-parse.tlog\".
InitializeBuildStatus:
  Creating "yaml-cpp-parse.dir\Release\yaml-cpp-parse.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\include" /nologo /W3 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"yaml-cpp-parse.dir\Release\\" /Fd"yaml-cpp-parse.dir\Release\vc142.pdb" /external:W3 /Gd /TP /errorReport:queue "D:\a\IIS-Module\IIS-Module\yaml-cpp\util\parse.cpp"
  parse.cpp
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\parse.exe" /INCREMENTAL:NO /NOLOGO "..\Release\yaml-cpp.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/parse.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/parse.lib" /MACHINE:X64  /machine:x64 "yaml-cpp-parse.dir\Release\parse.obj"
  yaml-cpp-parse.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\parse.exe
FinalizeBuildStatus:
  Deleting file "yaml-cpp-parse.dir\Release\yaml-cpp-parse.tlog\unsuccessfulbuild".
  Touching "yaml-cpp-parse.dir\Release\yaml-cpp-parse.tlog\yaml-cpp-parse.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-parse.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-read.vcxproj" (9) on node 1 (default targets).
PrepareForBuild:
  Creating directory "yaml-cpp-read.dir\Release\".
  Creating directory "yaml-cpp-read.dir\Release\yaml-cpp-read.tlog\".
InitializeBuildStatus:
  Creating "yaml-cpp-read.dir\Release\yaml-cpp-read.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\include" /nologo /W3 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"yaml-cpp-read.dir\Release\\" /Fd"yaml-cpp-read.dir\Release\vc142.pdb" /external:W3 /Gd /TP /errorReport:queue "D:\a\IIS-Module\IIS-Module\yaml-cpp\util\read.cpp"
  read.cpp
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\read.exe" /INCREMENTAL:NO /NOLOGO "..\Release\yaml-cpp.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/read.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/read.lib" /MACHINE:X64  /machine:x64 "yaml-cpp-read.dir\Release\read.obj"
  yaml-cpp-read.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\read.exe
FinalizeBuildStatus:
  Deleting file "yaml-cpp-read.dir\Release\yaml-cpp-read.tlog\unsuccessfulbuild".
  Touching "yaml-cpp-read.dir\Release\yaml-cpp-read.tlog\yaml-cpp-read.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-read.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-sandbox.vcxproj" (10) on node 1 (default targets).
PrepareForBuild:
  Creating directory "yaml-cpp-sandbox.dir\Release\".
  Creating directory "yaml-cpp-sandbox.dir\Release\yaml-cpp-sandbox.tlog\".
InitializeBuildStatus:
  Creating "yaml-cpp-sandbox.dir\Release\yaml-cpp-sandbox.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/util/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\include" /nologo /W3 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"yaml-cpp-sandbox.dir\Release\\" /Fd"yaml-cpp-sandbox.dir\Release\vc142.pdb" /external:W3 /Gd /TP /errorReport:queue "D:\a\IIS-Module\IIS-Module\yaml-cpp\util\sandbox.cpp"
  sandbox.cpp
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\sandbox.exe" /INCREMENTAL:NO /NOLOGO "..\Release\yaml-cpp.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/sandbox.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/util/Release/sandbox.lib" /MACHINE:X64  /machine:x64 "yaml-cpp-sandbox.dir\Release\sandbox.obj"
  yaml-cpp-sandbox.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\Release\sandbox.exe
FinalizeBuildStatus:
  Deleting file "yaml-cpp-sandbox.dir\Release\yaml-cpp-sandbox.tlog\unsuccessfulbuild".
  Touching "yaml-cpp-sandbox.dir\Release\yaml-cpp-sandbox.tlog\yaml-cpp-sandbox.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\util\yaml-cpp-sandbox.vcxproj" (default targets).
Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (1) is building "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj" (11) on node 1 (default targets).
PrepareForBuild:
  Creating directory "yaml-cpp-tests.dir\Release\".
  Creating directory "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\Release\".
  Creating directory "yaml-cpp-tests.dir\Release\yaml-cpp-tests.tlog\".
InitializeBuildStatus:
  Creating "yaml-cpp-tests.dir\Release\yaml-cpp-tests.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/test/CMakeLists.txt
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\src" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock\include" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googlemock" /I"D:\a\IIS-Module\IIS-Module\yaml-cpp\test\gtest-1.10.0\googletest" /nologo /W3 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"yaml-cpp-tests.dir\Release\\" /Fd"yaml-cpp-tests.dir\Release\vc142.pdb" /external:W3 /Gd /TP /errorReport:queue "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\emitter_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\encoding_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\error_messages_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\gen_emitter_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\handler_spec_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\handler_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\load_node_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\integration\node_spec_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\main.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\node\node_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\ostream_wrapper_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\parser_test.cpp" "D:\a\IIS-Module\IIS-Module\yaml-cpp\test\regex_test.cpp"
  emitter_test.cpp
  encoding_test.cpp
  error_messages_test.cpp
  gen_emitter_test.cpp
  handler_spec_test.cpp
  handler_test.cpp
  load_node_test.cpp
  node_spec_test.cpp
  main.cpp
  node_test.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\test\node\node_test.cpp(549,30): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj]
  ostream_wrapper_test.cpp
  parser_test.cpp
  regex_test.cpp
  Generating Code...
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\Release\yaml-cpp-tests.exe" /INCREMENTAL:NO /NOLOGO "..\Release\yaml-cpp.lib" ..\lib\Release\gmock.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/test/Release/yaml-cpp-tests.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/a/IIS-Module/IIS-Module/yaml-cpp/build/test/Release/yaml-cpp-tests.lib" /MACHINE:X64  /machine:x64 "yaml-cpp-tests.dir\Release\emitter_test.obj"
  "yaml-cpp-tests.dir\Release\encoding_test.obj"
  "yaml-cpp-tests.dir\Release\error_messages_test.obj"
  "yaml-cpp-tests.dir\Release\gen_emitter_test.obj"
  "yaml-cpp-tests.dir\Release\handler_spec_test.obj"
  "yaml-cpp-tests.dir\Release\handler_test.obj"
  "yaml-cpp-tests.dir\Release\load_node_test.obj"
  "yaml-cpp-tests.dir\Release\node_spec_test.obj"
  "yaml-cpp-tests.dir\Release\main.obj"
  "yaml-cpp-tests.dir\Release\node_test.obj"
  "yaml-cpp-tests.dir\Release\ostream_wrapper_test.obj"
  "yaml-cpp-tests.dir\Release\parser_test.obj"
  "yaml-cpp-tests.dir\Release\regex_test.obj"
  yaml-cpp-tests.vcxproj -> D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\Release\yaml-cpp-tests.exe
FinalizeBuildStatus:
  Deleting file "yaml-cpp-tests.dir\Release\yaml-cpp-tests.tlog\unsuccessfulbuild".
  Touching "yaml-cpp-tests.dir\Release\yaml-cpp-tests.tlog\yaml-cpp-tests.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj" (default targets).
PrepareForBuild:
  Creating directory "x64\Release\ALL_BUILD\".
  Creating directory "x64\Release\ALL_BUILD\ALL_BUILD.tlog\".
InitializeBuildStatus:
  Creating "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule D:/a/IIS-Module/IIS-Module/yaml-cpp/CMakeLists.txt
FinalizeBuildStatus:
  Deleting file "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
  Touching "x64\Release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
Done Building Project "D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (default targets).

Build succeeded.

"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj" (default target) (11) ->
(ClCompile target) -> 
  D:\a\IIS-Module\IIS-Module\yaml-cpp\test\node\node_test.cpp(549,30): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\IIS-Module\IIS-Module\yaml-cpp\build\test\yaml-cpp-tests.vcxproj]

    1 Warning(s)
    0 Error(s)

Time Elapsed 00:02:25.22

1s
0s
7s
13s
11s
3s
8m 16s
1m 57s
6s
19s
Run cd $Env:GITHUB_WORKSPACE\main
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 10/11/2021 8:30:55 PM.
Project "D:\a\IIS-Module\IIS-Module\main\Native-IIS.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Test|x64".
Project "D:\a\IIS-Module\IIS-Module\main\Native-IIS.sln" (1) is building "D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "x64\Test\".
  Creating directory "x64\Test\Native-IIS.tlog\".
InitializeBuildStatus:
  Creating "x64\Test\Native-IIS.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\CL.exe /c /I"C:\Program Files\OpenSSL\include" /I"..\jwt-cpp\include" /I"..\..\jwt-cpp\include" /I"..\..\vcpkg\packages\cpprestsdk_x64-windows\include" /I"..\vcpkg\packages\cpprestsdk_x64-windows\include" /I"..\..\yaml-cpp\include" /I"..\yaml-cpp\include" /I"D:\a\IIS-Module\IIS-Module\main" /I"D:\a\IIS-Module\IIS-Module\main\include" /Zi /nologo /W1 /WX- /diagnostics:column /O2 /Oi /D IIS_UNIT_TEST_BUILD /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"x64\Test\\" /Fd"x64\Test\vc142.pdb" /external:W1 /Gd /TP /FC /errorReport:queue dllmain.cpp pch.cpp src\Bucket.cpp src\Cache.cpp src\ConfigReader.cpp src\EventLogger.cpp src\MavericsConfig.cpp src\MavericsModule.cpp src\MavericsUtil.cpp test\CacheTests.cpp
  dllmain.cpp
  pch.cpp
  Bucket.cpp
  Cache.cpp
  ConfigReader.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  EventLogger.cpp
  MavericsConfig.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  MavericsModule.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  MavericsUtil.cpp
D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  CacheTests.cpp
  Generating Code...
Done Building Project "D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj" (default targets) -- FAILED.
Done Building Project "D:\a\IIS-Module\IIS-Module\main\Native-IIS.sln" (default targets) -- FAILED.

Build FAILED.

"D:\a\IIS-Module\IIS-Module\main\Native-IIS.sln" (default target) (1) ->
"D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj" (default target) (2) ->
(ClCompile target) -> 
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]
  D:\a\IIS-Module\IIS-Module\yaml-cpp\include\yaml-cpp\parser.h(13,10): fatal error C1083: Cannot open include file: 'yaml-cpp/dll.h': No such file or directory [D:\a\IIS-Module\IIS-Module\main\Native-IIS.vcxproj]

    0 Warning(s)
    4 Error(s)

Time Elapsed 00:00:17.70
Error: Process completed with exit code 1.
0s
3s
4s
4s
pinotree commented 3 years ago

Can you please also post a link to the source code, especially the build system files? There are different ways to embed another project inside your own, and it's hard for me to provide proper feedback if I don't know what's going on.

Also, see my answer in a previous ticket on this: https://github.com/jbeder/yaml-cpp/issues/1036#issuecomment-929475353

noelotterness commented 3 years ago

First I cannot provide the source code since it is not a public repository. The build system files are what are generated by Visual Studio to build a native C++ DLL for IIS. I include the directories where the generated source is placed. The problem is that there is something in the yaml-cpp source that requires the dll.h file and that is no longer being generated for the Windows 2019 build. Perhaps it has been moved to a new location? The Project include directive is for "yaml-cpp\include" with some pathing to obtain the correct location based upon either a local build or a GitHub build. The problem is that it all used to work prior to your commit and the code was configured as described in the documentation. If there is something different I need to do to make it work now (also I do not use ExternalProject_Add()), that would be great.

pinotree commented 3 years ago

The build system files are what are generated by Visual Studio to build a native C++ DLL for IIS. I include the directories where the generated source is placed.

So you are embedding yaml-cpp are part of your sources?

The problem is that there is something in the yaml-cpp source that requires the dll.h file and that is no longer being generated for the Windows 2019 build.

dll.h is still available during a build (no matter the OS). What changed is that, instead of a static file as include/yaml-cpp/dll.h relative to the yaml-cpp source directory, now it is generated by cmake and it is available as include/yaml-cpp/dll.h relative to the yaml-cpp build directory. So, in case you are manually adding include directories to use the embedded yaml-cpp copy, you have to add one more include path; again, see https://github.com/jbeder/yaml-cpp/issues/1036#issuecomment-929475353.

PhilipDeegan commented 3 years ago

dll.h is still available during a build (no matter the OS). What changed is that, instead of a static file as include/yaml-cpp/dll.h relative to the yaml-cpp source directory, now it is generated by cmake

what about anyone not using cmake?

pinotree commented 3 years ago

what about anyone not using cmake?

Considering the build system is cmake, it seems fair to assume that the build system will take care of everything needed to properly build yaml-cpp.

If you want to embed yaml-cpp and build it yourself without using cmake, then you will need to replicate all the logic yourself:

This was valid also before, and usually it is valid in any project for any build system different than one one(s) supported by the project.

PhilipDeegan commented 3 years ago

I'm not sure how your points are useful, all I know is it used to work, now it doesn't.

pinotree commented 3 years ago

all I know is it used to work, now it doesn't.

Then simply... use cmake, which is the supported build system. If not, please describe what is the use case for not using the supported build system of the project. "it worked before, now it doesn't" is simply not enough to understand what is the actual situation.

jbeder commented 3 years ago

I'm sympathetic to @PhilipDeegan's issue here; even though the supported build system is CMake, I'd like for it to be easy to use in any build system someone wants. (E.g., there's a half-finished Bazel config for yaml-cpp that would be nice to get working, since I personally prefer Bazel to CMake.) yaml-cpp is so simple that you can usually just throw all of the sources into your build system and it'll just work.

This conversation made me realize that this is the first example where that's no longer is true; although there are sometimes aspects of the CMake config that probably are useful, we've never straight-up generated a source file before.

@pinotree, is there a way to solve the issue you were trying to solve (if I recall, reducing the non-public symbols that are exported) without generating the dll.h file?

hkarel commented 3 years ago

@pinotree, is there a way to solve the issue you were trying to solve (if I recall, reducing the non-public symbols that are exported) without generating the dll.h file?

@pinotree, I would also like to hear the answer to this question. I think that it was possible to completely do without the dynamic generation of the dll.h file. To do this, it was necessary to figure out how to use the dllexport/dllimport directives for the MS compiler. Why @pinotree didn't want to do this - question!

... yaml-cpp is so simple that you can usually just throw all of the sources into your build system and it'll just work.

It really is! In this I see a big plus of yaml-cpp. In my projects, I include yaml-cpp in the form of source codes, the assembly of the library takes place in conjunction with a specific project. CMake is not used at all. Therefore, after updating to commit 0733aeb451e2526dc05824d954348ca5baa0feed, all my projects stopped building. Of course the situation will be corrected - I will return back the static file dll.h.

In fact, now cmake has received a monopoly to build the yaml-cpp. Those who do not use cmake in their work will have to find solutions on their own. It seems to me that this is not very correct.

@jbeder, did you manage to build the master-branch using Bazel?

hkarel commented 3 years ago

The updated dll.h file may look like this. It will also be necessary to correct the CMakeLists.txt, the solution can be viewed here

jbeder commented 3 years ago

@hkarel @pinotree @PhilipDeegan If any of you has time and a Windows machine, could you please help getting PR #1063 passing the Windows shared lib test?

jbeder commented 3 years ago

Fixed by 2b65c65e1be6f2eec7a1ad6a91bc5a8765a7e4bd. Thanks @hkarel and @PhilipDeegan!

And once more to @pinotree: I'm open to a PR fixing the original issue you were trying to fix!