Hi Nick,
Not sure if it is relevant for you, but for other who will search.
I have the same problem.
What I found:
1. When you issue "cmake --build", it runs following command line:
msbuild ALL_BUILD.vcxproj /p:Platform=Win32 ...
So it is not a solution file, that have rules to match
Subject: [CMake] Different behavior between building using "cmake
--build" and building in Visual Studio
Hello,
I have a CMake project which is generating Visual Studio (VS2017)
solutions which can be compiled using the Visual Studio IDE but cannot
be built from the command line us
: cmake@cmake.org
Subject: Re: [CMake] Different behavior between building using "cmake --build"
and building in Visual Studio
Hi Scott,
Yes, I can invoke msbuild directly on the CMake generated solution
using:
msbuild theproject.sln /p:Platform=Win32
And everything builds fine. I cannot ge
building using "cmake --build" and
building in Visual Studio
Hello,
I have a CMake project which is generating Visual Studio (VS2017) solutions
which can be compiled using the Visual Studio IDE but cannot be built from the
command line using "cmake --build".
The proje
Hello,
I have a CMake project which is generating Visual Studio (VS2017)
solutions which can be compiled using the Visual Studio IDE but cannot
be built from the command line using "cmake --build".
The project contains a shared library which links against two static
libraries. The two