On 11/30/2016 01:37 PM, Serti Ayoub wrote: > Here: > https://github.com/Kitware/CMake/blob/1b592b6458ce033b04ba2aa0ee4cf5ace0fd042c/Source/cmVS141CLFlagTable.h#L174 > > I think it need also an entry : { "RemoveUnreferencedCodeData", "Zc:inline-", > "", "false", 0}
Yes, thanks: * https://gitlab.kitware.com/cmake/cmake/merge_requests/298 Note that that code does not exist in CMake 3.6, and that flag table is used only for the v141 toolset that comes with VS 2017 RC. According to the documentation you linked for the -Zcinline option the default is OFF if it is not specified, so regardless of the above it should still not appear in a CMake-generated project by default. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers