>
>>
> 1) What does your "unsuccess" mean?
>
It means that the outcome is a visual studio project which does not use the
expected "/wd" flag for compilation.
>
> 2) You can edit flags from GUI, this should work.
>
If you mean the Visual Studio GUI, sure, but I would have to do that
everyt
hi,
to disable useless warnings in visual studio 08, this works for me :
add_definitions( "/W3 /D_CRT_SECURE_NO_WARNINGS /wd4005 /wd4996 /nologo" )
>
On Mon, Oct 6, 2008 at 9:37 AM, Timenkov Yuri <[EMAIL PROTECTED]> wrote:
>
>
> 2008/10/2 user790 user790 <[EMAIL PROTECTED]>
>
>> Disabling sp
2008/10/2 user790 user790 <[EMAIL PROTECTED]>
> Disabling specific warnings is a simple task so I thought I could do it
> myself but I must admit defeat. A simple CMakeLists.txt like this won't
> work.
>
> project(testcmake)
> # None of this works
> #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4669
Disabling specific warnings is a simple task so I thought I could do it
myself but I must admit defeat. A simple CMakeLists.txt like this won't
work.
project(testcmake)
# None of this works
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4669")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4669" CACHE ST