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

2019-01-21 Thread nick
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 get the same behaviour using CMake --build - is there a way to determine exactly the arguments CMake is invoking msbuild with?

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

2019-01-21 Thread Scott Bloom
Strange... When I had a similar problem, the command line for msbuild required the same level of detail. What about running it from visual studio on the command line? Scott -Original Message- From: n...@appletonaudio.com Sent: Monday, January 21, 2019 14:33 To: Scott Bloom Cc: cmake

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

2019-01-21 Thread Scott Bloom
Can you make it work by running msbuild directly? What about building using visual studio from the command line? Scott -Original Message- From: CMake On Behalf Of n...@appletonaudio.com Sent: Sunday, January 20, 2019 21:02 To: cmake@cmake.org Subject: [CMake] Different behavior between

[CMake] find_package config and install

2019-01-21 Thread Lars
Hello, We are creating a foo-config.cmake file for a package. The 'foo' package contain a dynamic library that provides two interfaces and a number of configuration files. There is a mapping between an interface and required configuration files. What is the recommended approach for installing t