Re: [CMake] Different behavior between building using "cmake --build" and building in Visual Studio

2019-05-09 Thread SergSuslenkov
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

Re: [CMake] Different behavior between building using "cmake --build" and building in Visual Studio

2019-01-21 Thread nick
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

Re: [CMake] Different behavior between building using "cmake --build" and building in Visual Studio

2019-01-21 Thread Scott Bloom
: 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

Re: [CMake] Different behavior between building using "cmake --build" and building in Visual Studio

2019-01-21 Thread Scott Bloom
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

[CMake] Different behavior between building using "cmake --build" and building in Visual Studio

2019-01-20 Thread nick
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