On 25/09/11 18:00, Marc-André Moreau wrote :
>
>
> On Sun, Sep 25, 2011 at 5:29 AM, Alexis Moinet <alexis.moi...@umons.ac.be 
> <mailto:alexis.moi...@umons.ac.be>> wrote:
>
>     Hello
>
>     I'm not sure of what you mean, it seems to me that you already have such 
> options
>
>     for instance WITH_DEBUG_RAIL is already listed in ccmake (and, I suppose, 
> also within the GUI ?) and can be set to ON/OFF (defined/not defined) (also 
> running "cmake -DWITH_DEBUG_RAIL=ON" should work too)
>
>     the option is created in cmake/ConfigOptions.cmake and config.h.in 
> <http://config.h.in>
>
>
> Hum... you are right, but many debugging options are missing
>
> For instance, I see no WITH_DEBUG_RDP and WITH_DEBUG_WND even though both are 
> defined in the code. Any ideas why only some of them appear there?

Because they are not defined in cmake/ConfigOptions.cmake and config.h.in, so 
cmake has no idea that they should exist.

Here's a patch to have them available:

diff --git a/cmake/ConfigOptions.cmake b/cmake/ConfigOptions.cmake
index 2854108..9409a07 100644
--- a/cmake/ConfigOptions.cmake
+++ b/cmake/ConfigOptions.cmake
@@ -12,6 +12,8 @@ option(WITH_DEBUG_RFX "Print RemoteFX debug messages." OFF)
 option(WITH_DEBUG_X11 "Print X11 Client debug messages" OFF)
 option(WITH_DEBUG_RAIL "Print RemoteApp debug messages" OFF)
 option(WITH_DEBUG_XV "Print XVideo debug messages" OFF)
+option(WITH_DEBUG_RDP "Print RDP debug messages" OFF)
+option(WITH_DEBUG_WND "Print WND debug messages" OFF)
 option(WITH_MANPAGES "Generate manpages." ON)
 option(WITH_PROFILER "Compile profiler." OFF)
 option(WITH_SSE2 "Use SSE2 optimization." OFF)
diff --git a/config.h.in b/config.h.in
index 9b7c01f..2ca8f6d 100644
--- a/config.h.in
+++ b/config.h.in
@@ -34,5 +34,7 @@
 #cmakedefine WITH_DEBUG_X11
 #cmakedefine WITH_DEBUG_RAIL
 #cmakedefine WITH_DEBUG_XV
+#cmakedefine WITH_DEBUG_RDP
+#cmakedefine WITH_DEBUG_WND

 #endif


Alexis

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to