You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2012/11/05 22:15:15 UTC

svn commit: r1405959 - in /qpid/proton/trunk/proton-c: CMakeLists.txt examples/messenger/c/CMakeLists.txt

Author: kgiusti
Date: Mon Nov  5 21:15:14 2012
New Revision: 1405959

URL: http://svn.apache.org/viewvc?rev=1405959&view=rev
Log:
NO-JIRA: fix proton-c examples build flags.

Modified:
    qpid/proton/trunk/proton-c/CMakeLists.txt
    qpid/proton/trunk/proton-c/examples/messenger/c/CMakeLists.txt

Modified: qpid/proton/trunk/proton-c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/CMakeLists.txt?rev=1405959&r1=1405958&r2=1405959&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/CMakeLists.txt Mon Nov  5 21:15:14 2012
@@ -101,9 +101,6 @@ if (SWIG_FOUND)
   add_subdirectory(bindings)
 endif (SWIG_FOUND)
 
-add_subdirectory(docs/api)
-add_subdirectory(examples/messenger/c)
-
 # Should really be finding the uuid library appropriate for the platform
 # in lieu of doing this set the library name directly.
 set (UUID_LIB uuid)
@@ -115,6 +112,9 @@ if (CMAKE_COMPILER_IS_GNUCC)
    set (COMPILE_PLATFORM_FLAGS "-std=gnu99")
 endif (CMAKE_COMPILER_IS_GNUCC)
 
+add_subdirectory(docs/api)
+add_subdirectory(examples/messenger/c)
+
 set (qpid-proton-platform
   src/driver.c
   ${pn_driver_ssl_impl}

Modified: qpid/proton/trunk/proton-c/examples/messenger/c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/examples/messenger/c/CMakeLists.txt?rev=1405959&r1=1405958&r2=1405959&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/examples/messenger/c/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/examples/messenger/c/CMakeLists.txt Mon Nov  5 21:15:14 2012
@@ -26,5 +26,5 @@ target_link_libraries(send qpid-proton)
 set_target_properties (
   recv send
   PROPERTIES
-  COMPILE_FLAGS "${PN_COMPILE_FLAGS}"
+  COMPILE_FLAGS "${COMPILE_WARNING_FLAGS} ${COMPILE_LANGUAGE_FLAGS}"
 )



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org