Revision: 6512
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6512&view=rev
Author:   gbiggs
Date:     2008-06-09 23:37:58 -0700 (Mon, 09 Jun 2008)

Log Message:
-----------
Fixed config.h, playerconfig.h and their little friends.

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

Modified: code/player/trunk/CMakeLists.txt
===================================================================
--- code/player/trunk/CMakeLists.txt    2008-06-10 06:37:27 UTC (rev 6511)
+++ code/player/trunk/CMakeLists.txt    2008-06-10 06:37:58 UTC (rev 6512)
@@ -29,8 +29,12 @@
 # Give the user some compile options
 INCLUDE (${PLAYER_CMAKE_DIR}/internal/GeneralCompileOptions.cmake)
 # Write the config.h file
-CONFIGURE_FILE (${PROJECT_SOURCE_DIR}/config.h.cmake 
${PROJECT_BINARY_DIR}/config.h)
-
+CONFIGURE_FILE (${PROJECT_SOURCE_DIR}/config.h.in 
${PROJECT_BINARY_DIR}/config.h)
+# Generate playerconfig.h
+SET (playerconfig_h_in "${CMAKE_CURRENT_SOURCE_DIR}/playerconfig.h.in")
+SET (playerconfig_h "${CMAKE_CURRENT_BINARY_DIR}/playerconfig.h")
+CONFIGURE_FILE (${playerconfig_h_in} ${playerconfig_h})
+INSTALL (FILES ${playerconfig_h} DESTINATION ${PLAYER_INCLUDE_INSTALL_DIR})
 # Include some useful macros
 INCLUDE (${PLAYER_CMAKE_DIR}/internal/LibraryUtils.cmake)
 


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to