Revision: 6782
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6782&view=rev
Author:   gerkey
Date:     2008-07-07 09:30:32 -0700 (Mon, 07 Jul 2008)

Log Message:
-----------
added support for building and installing stage.pc

Modified Paths:
--------------
    code/stage/trunk/CMakeLists.txt
    code/stage/trunk/libstage/CMakeLists.txt
    code/stage/trunk/stage.pc.in

Modified: code/stage/trunk/CMakeLists.txt
===================================================================
--- code/stage/trunk/CMakeLists.txt     2008-07-07 15:16:42 UTC (rev 6781)
+++ code/stage/trunk/CMakeLists.txt     2008-07-07 16:30:32 UTC (rev 6782)
@@ -24,6 +24,9 @@
                -DINSTALL_PREFIX=\\\"${CMAKE_INSTALL_PREFIX}\\\"
                -DVERSION=\\\"${VERSION}\\\" )
 
+# Create the pkgconfig file
+CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/stage.pc.in 
${CMAKE_CURRENT_BINARY_DIR}/stage.pc @ONLY)
+INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/stage.pc DESTINATION lib/pkgconfig/)
 
 # find the easy modules
 include(FindPkgConfig)

Modified: code/stage/trunk/libstage/CMakeLists.txt
===================================================================
--- code/stage/trunk/libstage/CMakeLists.txt    2008-07-07 15:16:42 UTC (rev 
6781)
+++ code/stage/trunk/libstage/CMakeLists.txt    2008-07-07 16:30:32 UTC (rev 
6782)
@@ -73,5 +73,5 @@
        LIBRARY DESTINATION lib
 )
 
-INSTALL(FILES stage.hh option.hh
+INSTALL(FILES stage.hh option.hh worldfile.hh
         DESTINATION include/${PROJECT_NAME}-${V_MAJOR}.${V_MINOR})

Modified: code/stage/trunk/stage.pc.in
===================================================================
--- code/stage/trunk/stage.pc.in        2008-07-07 15:16:42 UTC (rev 6781)
+++ code/stage/trunk/stage.pc.in        2008-07-07 16:30:32 UTC (rev 6782)
@@ -1,4 +1,4 @@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 
 Name: stage
 Description: Stage robot simulation C library and Player plugin - part of the 
Player/Stage Project


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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to