/[pcsx2_0.9.7]/trunk/pcsx2/CMakeLists.txt
ViewVC logotype

Diff of /trunk/pcsx2/CMakeLists.txt

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

--- trunk/pcsx2/CMakeLists.txt	2010/12/23 11:48:33	279
+++ trunk/pcsx2/CMakeLists.txt	2010/12/23 12:02:12	280
@@ -274,7 +274,6 @@
 
 # gui sources
 set(pcsx2GuiSources
-	gui/AdvancedDialog.cpp
 	gui/AppAssert.cpp
 	gui/AppConfig.cpp
 	gui/AppCorePlugins.cpp
@@ -338,7 +337,6 @@
 
 # gui headers
 set(pcsx2GuiHeaders
-	gui/AdvancedDialog.h
 	gui/App.h
 	gui/ApplyState.h
 	gui/AppAccelerators.h
@@ -365,6 +363,24 @@
 	gui/RecentIsoList.h
 	)
 
+# Gui resources headers
+set(pcsx2GuiResources
+    gui/Resources/AppIcon16.h
+    gui/Resources/AppIcon32.h
+    gui/Resources/AppIcon64.h
+    gui/Resources/BackgroundLogo.h
+    gui/Resources/ConfigIcon_Appearance.h
+    gui/Resources/ButtonIcon_Camera.h
+    gui/Resources/ConfigIcon_Cpu.h
+    gui/Resources/ConfigIcon_Gamefixes.h
+    gui/Resources/ConfigIcon_MemoryCard.h
+    gui/Resources/ConfigIcon_Paths.h
+    gui/Resources/ConfigIcon_Plugins.h
+    gui/Resources/ConfigIcon_Speedhacks.h
+    gui/Resources/ConfigIcon_Video.h
+    gui/Resources/Dualshock.h
+    )
+
 # IPU sources
 set(pcsx2IPUSources
 	IPU/IPU.cpp
@@ -383,7 +399,6 @@
 
 # Linux sources
 set(pcsx2LinuxSources
-	Linux/LnxHostSys.cpp
 	Linux/LnxKeyCodes.cpp)
 
 # Linux headers
@@ -432,7 +447,7 @@
 
 # System headers
 set(pcsx2SystemHeaders
-	System/PageFaultSource.h
+	System/RecTypes.h
 	System/SysThreads.h)
 
 # Utilities sources
@@ -542,7 +557,6 @@
 	x86/microVU_Tables.inl
 	x86/microVU_Upper.inl
 	x86/newVif.h
-	x86/newVif_BlockBuffer.h
 	x86/newVif_HashBucket.h
 	x86/newVif_UnpackSSE.h
 	x86/sVU_Compare.h
@@ -572,6 +586,7 @@
 	${pcsx2DebugToolsSources}
 	${pcsx2DebugToolsSources}
 	${pcsx2GuiSources}
+    ${pcsx2GuiResources}
 	${pcsx2GuiHeaders}
 	${pcsx2IPUSources}
 	${pcsx2IPUHeaders}
@@ -622,8 +637,21 @@
 			   ${Common}
 			   ${Platform})
 
-# add dependencies
-add_dependencies(${Output} Resources)
+# Generate the resources files
+add_custom_command(OUTPUT   "gui/Resources/AppIcon16.h"               COMMAND   bin2cpp   "gui/Resources/AppIcon16.png")
+add_custom_command(OUTPUT   "gui/Resources/AppIcon32.h"               COMMAND   bin2cpp   "gui/Resources/AppIcon32.png")
+add_custom_command(OUTPUT   "gui/Resources/AppIcon64.h"               COMMAND   bin2cpp   "gui/Resources/AppIcon64.png")
+add_custom_command(OUTPUT   "gui/Resources/BackgroundLogo.h"          COMMAND   bin2cpp   "gui/Resources/BackgroundLogo.png")
+add_custom_command(OUTPUT   "gui/Resources/ButtonIcon_Camera.h"       COMMAND   bin2cpp   "gui/Resources/ButtonIcon_Camera.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Appearance.h"   COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Appearance.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Cpu.h"          COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Cpu.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Gamefixes.h"    COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Gamefixes.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_MemoryCard.h"   COMMAND   bin2cpp   "gui/Resources/ConfigIcon_MemoryCard.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Paths.h"        COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Paths.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Plugins.h"      COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Plugins.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Speedhacks.h"   COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Speedhacks.png")
+add_custom_command(OUTPUT   "gui/Resources/ConfigIcon_Video.h"        COMMAND   bin2cpp   "gui/Resources/ConfigIcon_Video.png")
+add_custom_command(OUTPUT   "gui/Resources/Dualshock.h"               COMMAND   bin2cpp   "gui/Resources/Dualshock.jpg")
 
 # link target with project internal libraries
 target_link_libraries(${Output} Utilities x86emitter)

 

  ViewVC Help
Powered by ViewVC 1.1.22