/[pcsx2_0.9.7]/trunk/cmake/Pcsx2Utils.cmake
ViewVC logotype

Diff of /trunk/cmake/Pcsx2Utils.cmake

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/cmake/Pcsx2Utils.cmake	2010/12/23 11:48:33	279
+++ trunk/cmake/Pcsx2Utils.cmake	2010/12/23 12:02:12	280
@@ -1,31 +1,6 @@
 # additonal cmake macros and functions
 
 #-------------------------------------------------------------------------------
-#						createResourceTarget
-#-------------------------------------------------------------------------------
-# This function is used to generate header files, used as resources.
-# A list of Resources taken as input parameter.
-#-------------------------------------------------------------------------------
-function(createResourceTarget)
-	# working directory
-	set(workdir ${PROJECT_SOURCE_DIR}/pcsx2/gui/Resources)
-
-	# create dummy target depending on bin2cpp
-	add_custom_target(Resources
-					  DEPENDS bin2cpp)
-
-	# create a custom command for every resource file
-	foreach(entry IN LISTS ARGV)
-		# create custom command and assign to target Resources
-		add_custom_command(TARGET Resources POST_BUILD
-						   COMMAND bin2cpp ${entry}
-	   				       WORKING_DIRECTORY ${workdir})
-	endforeach(entry)
-endfunction(createResourceTarget)
-#-------------------------------------------------------------------------------
-
-
-#-------------------------------------------------------------------------------
 #						detectOperatingSystem
 #-------------------------------------------------------------------------------
 # This function detects on which OS cmake is run and set a flag to control the

 

  ViewVC Help
Powered by ViewVC 1.1.22