Revision: 8024
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8024&view=rev
Author:   gbiggs
Date:     2009-07-15 06:00:58 +0000 (Wed, 15 Jul 2009)

Log Message:
-----------
Don't build plugins if building as static libraries

Modified Paths:
--------------
    code/player/trunk/CMake_Todo.txt
    code/player/trunk/examples/CMakeLists.txt

Modified: code/player/trunk/CMake_Todo.txt
===================================================================
--- code/player/trunk/CMake_Todo.txt    2009-07-15 04:11:49 UTC (rev 8023)
+++ code/player/trunk/CMake_Todo.txt    2009-07-15 06:00:58 UTC (rev 8024)
@@ -1,2 +1 @@
 - Java bindings for core, xdr, tcp, etc
-- Figure out why C++ tests and C++ examples don't link properly when building 
as static libs, even though the server and utils do.

Modified: code/player/trunk/examples/CMakeLists.txt
===================================================================
--- code/player/trunk/examples/CMakeLists.txt   2009-07-15 04:11:49 UTC (rev 
8023)
+++ code/player/trunk/examples/CMakeLists.txt   2009-07-15 06:00:58 UTC (rev 
8024)
@@ -2,9 +2,11 @@
 OPTION (BUILD_EXAMPLES "Build the libplayerc, libplayerc++ and plugin 
examples" ON)
 
 IF (BUILD_EXAMPLES)
-    ADD_SUBDIRECTORY (plugins)
     ADD_SUBDIRECTORY (libplayerc)
     ADD_SUBDIRECTORY (libplayerc++)
+    IF (BUILD_SHARED_LIBS)
+        ADD_SUBDIRECTORY (plugins)
+    ENDIF (BUILD_SHARED_LIBS)
 ENDIF (BUILD_EXAMPLES)
 MESSAGE (STATUS "====================")
 MESSAGE (STATUS "")


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to