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

List:       kde-commits
Subject:    KDE/kdelibs/cmake/modules
From:       Peter Kümmel <syntheticpp () yahoo ! com>
Date:       2009-11-12 19:19:19
Message-ID: 1258053559.995410.8284.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1048124 by kuemmel:

Run tests from IDE. $(OutDir) must be expanded by ctest:
http://www.cmake.org/pipermail/cmake/2006-January/008061.html


 M  +3 -0      KDE4Macros.cmake  


--- trunk/KDE/kdelibs/cmake/modules/KDE4Macros.cmake #1048123:1048124
@@ -803,6 +803,9 @@
 
     if(WIN32)
       get_target_property( loc ${_targetName} LOCATION )
+      if(MSVC_IDE)
+        STRING(REGEX REPLACE "\\$\\(.*\\)" "\${CTEST_CONFIGURATION_TYPE}" loc "${loc}")
+      endif()
       # .bat because of rpath handling
       set(_executable ${loc}.bat)
     else(WIN32)
[prev in list] [next in list] [prev in thread] [next in thread] 

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