I know how to suppress compilation warnings with CMake (suppose I want to disable compilation warning C4819):
C4819
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4819")
So, how to suppress link warnings using CMake (say LNK4099)?
LNK4099
Try the following:
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "/ignore:4099")
It worked great for me with Visual Studio 2015.
The answer is so obvious that I even doubt whether I am right. In any case, you need the LINK_FLAGS property.
Source: https://habr.com/ru/post/1625445/More articles:Entering "enter" causes a line break in html. What for? - htmlReact + Redux Simple Router: не удается найти прослушивание undefined - javascriptPython pygame exe build with cx_freeze error TCL_LIBRARY - pythonHow to correctly return a shared array to a common Java method? - javaHow to remove duplicate tuples using SQL - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1625446/alternatives-to-spring-state-machine&usg=ALkJrhi7MIpXyprUJYq1B3Qy7VsyiDXy2gHow to create a sharing button in iOS 9? - iosMemory usage sc.textfile vs sc.wholeTextFiles + flatMapValues - apache-sparkКак создать thunk в x64? - cHow to perform arithmetic operation on the outputs of 2 queries - sqlAll Articles