Permalink
Browse files

renamed some files for CPack's sake

  • Loading branch information...
1 parent ba2b2d9 commit 50a868a248a021e60f575df52270184b1d2d4925 rtv committed Jul 8, 2008
Showing with 33 additions and 7,403 deletions.
  1. 0 AUTHORS → AUTHORS.txt
  2. +15 −8 CMakeLists.txt
  3. 0 COPYING → COPYING.txt
  4. +0 −7,395 ChangeLog
  5. +18 −0 DESCRIPTION.txt
  6. 0 README → README.txt
View
File renamed without changes.
View
@@ -10,6 +10,7 @@ SET( APIVERSION ${V_MAJOR}.${V_MINOR} )
# minimum version of Player to build the plugin
SET( MIN_PLAYER 2.1.0 )
+
cmake_minimum_required( VERSION 2.4 FATAL_ERROR )
IF (CMAKE_MAJOR_VERSION EQUAL 2 AND NOT CMAKE_MINOR_VERSION LESS 6)
@@ -19,6 +20,8 @@ ENDIF (CMAKE_MAJOR_VERSION EQUAL 2 AND NOT CMAKE_MINOR_VERSION LESS 6)
MESSAGE (STATUS "${PROJECT_NAME} version ${VERSION}")
+ENABLE_TESTING()
+
# 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/)
@@ -104,15 +107,19 @@ ADD_SUBDIRECTORY(examples)
IF ( PLAYER_FOUND )
ADD_SUBDIRECTORY(libstageplugin)
ENDIF ( PLAYER_FOUND )
+ADD_SUBDIRECTORY(assets)
-INSTALL(FILES rgb.txt stagelogo.png
- DESTINATION share/stage
-)
-
-FILE( GLOB assets "assets/*.png" )
-INSTALL(FILES ${assets}
- DESTINATION share/stage/assets
-)
+# generate a cpack config file used to create packaged tarballs
+INCLUDE(InstallRequiredSystemLibraries)
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Stage: A Multiple Robot Simulator")
+SET(CPACK_PACKAGE_VENDOR "The Player Project")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/DESCRIPTION.txt")
+SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.txt")
+SET(CPACK_PACKAGE_VERSION_MAJOR "${V_MAJOR}")
+SET(CPACK_PACKAGE_VERSION_MINOR "${V_MINOR}")
+SET(CPACK_PACKAGE_VERSION_PATCH "${V_BUGFIX}")
+INCLUDE(CPack)
View
File renamed without changes.
Oops, something went wrong.

0 comments on commit 50a868a

Please sign in to comment.