[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Phonon-VLC] 02ece3d: Turn off debugging when compiling with msvc2008,
From:       Alejandro Wainzinger <aikawarazuni () gmail ! com>
Date:       2010-05-01 12:15:01
Message-ID: 201005011215.o41CF1Bo003600 () kore ! kollide ! net
[Download RAW message or body]

commit 02ece3d493a05567cd18ab798b6a49d52e671f94
Author: Alejandro Wainzinger <aikawarazuni@gmail.com>
Date:   Sat May 1 05:29:55 2010 -0700

    Turn off debugging when compiling with msvc2008, since dll's with Qt's \
debuggingon and off don't mix, and server is building release. This will make the VLC \
backend work on Windows/msvc2008.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a962e4..9f808c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,7 +168,8 @@ set(PHONON_LIB_SOVERSION ${PHONON_LIB_MAJOR_VERSION})
 add_definitions(${QT_DEFINITIONS})
 remove_definitions(-DQT3_SUPPORT_WARNINGS -DQT3_SUPPORT)
 if(MSVC)
-  add_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-D_SCL_SECURE_NO_WARNINGS ) +  add_definitions( -D_CRT_SECURE_NO_DEPRECATE \
-D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DQT_NO_DEBUG) +  \
remove_definitions(-DQT_DEBUG)  endif(MSVC)
 
 # for including config.h and for includes like <kparts/foo.h>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic