Re: [CMake] MSVC /M[TD] as a compatible interface property?

2016-06-09 Thread Walter Gray
gt; give a warning on each source file because the build system was passing > both the default /MD[d] and the additional /MT. > -- > Daniel Schepler > -- > *From:* CMake [cmake-boun...@cmake.org] on behalf of Walter Gray [ > chrysal...@gmail.com] > *Sent:* T

Re: [CMake] MSVC /M[TD] as a compatible interface property?

2016-06-09 Thread Daniel Schepler
.com] Sent: Thursday, June 09, 2016 1:58 PM To: Cmake Mailing List Subject: [CMake] MSVC /M[TD] as a compatible interface property? Setting /MT or /MD is pretty important, and is a transitive requirement. See: https://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx The s

[CMake] MSVC /M[TD] as a compatible interface property?

2016-06-09 Thread Walter Gray
Setting /MT or /MD is pretty important, and is a transitive requirement. See: https://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx The standard mechanism of using target_compile_options isn't quite appropriate because it will simply append the flags used by each library and use the last