[grisbi-cvs] grisbi/win32-msvc CMakeLists.txt,1.12,1.13

Gunee guneemwelloeux at users.sourceforge.net
Mon Nov 23 16:18:46 CET 2009


Update of /cvsroot/grisbi/grisbi/win32-msvc
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20935

Modified Files:
	CMakeLists.txt 
Log Message:
Modified generation path for MSVC (if someone ever manages to compile for 64 bits with MSVC)

Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/grisbi/grisbi/win32-msvc/CMakeLists.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- CMakeLists.txt	19 Nov 2009 23:04:52 -0000	1.12
+++ CMakeLists.txt	23 Nov 2009 15:18:44 -0000	1.13
@@ -2,8 +2,8 @@
 
 PROJECT (Grisbi C)
 
-SET(EXECUTABLE_OUTPUT_PATH target)
-SET(LIBRARY_OUTPUT_PATH target/$(OutDir)/plugins)
+SET(EXECUTABLE_OUTPUT_PATH target/$(PlatformName))
+SET(LIBRARY_OUTPUT_PATH target/$(PlatformName)/$(OutDir)/plugins)
 SET(PACKAGE_NAME grisbi)
 
 ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
@@ -410,7 +410,8 @@
 
 ADD_CUSTOM_COMMAND ( TARGET ofx
 	POST_BUILD
-	COMMAND xcopy /D /Y $(TargetDir)ofx.dll target\\$(OutDir)\\plugins
+	COMMAND xcopy /D /Y $(TargetDir)ofx.dll target\\$(PlatformName)\\$(OutDir)\\plugins
+	COMMAND XCOPY /D /Y target\\plugins-dev\\libofx\\bin\\* target\\$(PlatformName)\\$(OutDir)
 )
 
 ADD_LIBRARY ( gnucash
@@ -421,7 +422,7 @@
 
 ADD_CUSTOM_COMMAND ( TARGET gnucash
 	POST_BUILD
-	COMMAND xcopy /D /Y $(TargetDir)gnucash.dll target\\$(OutDir)\\plugins
+	COMMAND xcopy /D /Y $(TargetDir)gnucash.dll target\\$(PlatformName)\\$(OutDir)\\plugins
 )
 
 ADD_LIBRARY ( openssl
@@ -432,7 +433,7 @@
 
 ADD_CUSTOM_COMMAND ( TARGET openssl
 	POST_BUILD
-	COMMAND xcopy /D /Y $(TargetDir)openssl.dll target\\$(OutDir)\\plugins
+	COMMAND xcopy /D /Y $(TargetDir)openssl.dll target\\$(PlatformName)\\$(ConfigurationName)\\plugins
 )
 
 
@@ -444,8 +445,7 @@
 
 ADD_CUSTOM_COMMAND(TARGET prepare_env
 	POST_BUILD
-	COMMAND IF NOT EXIST target\\$(ConfigurationName) mkdir target\\$(ConfigurationName)
-	# COMMAND IF NOT EXIST target\\Release mkdir target\\Release
+	COMMAND IF NOT EXIST target\\$(PlatformName)\\$(ConfigurationName) mkdir target\\$(PlatformName)\\$(ConfigurationName)
 )
 	
 
@@ -469,25 +469,25 @@
 
 ADD_CUSTOM_COMMAND(TARGET prepare_env
 	POST_BUILD
-	COMMAND xcopy /S /Y /D ..\\pixmaps\\*.png target\\$(ConfigurationName)\\pixmaps\\
+	COMMAND xcopy /S /Y /D ..\\pixmaps\\*.png target\\$(PlatformName)\\$(ConfigurationName)\\pixmaps\\
 	# COMMAND xcopy /S /Y /D ..\\pixmaps\\*.png target\\Release\\pixmaps\\
 )
 
 ADD_CUSTOM_COMMAND(TARGET prepare_env
 	POST_BUILD
-	COMMAND xcopy /S /Y /D ..\\help target\\$(ConfigurationName)\\help\\
+	COMMAND xcopy /S /Y /D ..\\help target\\$(PlatformName)\\$(ConfigurationName)\\help\\
 	# COMMAND xcopy /S /Y /D ..\\help target\\Release\\help\\
 )
 
 ADD_CUSTOM_COMMAND(TARGET prepare_env
 	POST_BUILD
-	COMMAND xcopy /S /Y /D ..\\share\\categories target\\$(ConfigurationName)\\help\\tips\\categories\\
+	COMMAND xcopy /S /Y /D ..\\share\\categories target\\$(PlatformName)\\$(ConfigurationName)\\help\\tips\\categories\\
 	# COMMAND xcopy /S /Y /D ..\\share\\categories target\\Release\\help\\tips\\categories\\
 )
 
 ADD_CUSTOM_COMMAND(TARGET prepare_env
 	POST_BUILD
-	COMMAND tools\\dos2unix.cmd ..\\help\\tips\\tips.txt target\\$(ConfigurationName)\\help\\tips\\tips.txt
+	COMMAND tools\\dos2unix.cmd ..\\help\\tips\\tips.txt target\\$(PlatformName)\\$(ConfigurationName)\\help\\tips\\tips.txt
 	# COMMAND tools\\dos2unix.cmd ..\\help\\tips\\tips.txt target\\Release\\help\\tips\\tips.txt
 )
 
@@ -543,8 +543,8 @@
  
  add_custom_command(TARGET prepare_mo
 	POST_BUILD
-	COMMAND IF NOT EXIST target\\$(ConfigurationName)\\lib mkdir target\\$(ConfigurationName)\\lib
-	COMMAND xcopy /S /Y /I /D target\\lib\\locale target\\$(ConfigurationName)\\lib\\locale
+	COMMAND IF NOT EXIST target\\$(PlatformName)\\$(ConfigurationName)\\lib mkdir target\\$(PlatformName)\\$(ConfigurationName)\\lib
+	COMMAND xcopy /S /Y /I /D target\\lib\\locale target\\$(PlatformName)\\$(ConfigurationName)\\lib\\locale
 	# COMMAND IF NOT EXIST target\\Release\\lib mkdir target\\Release\\lib
 	# COMMAND xcopy /S /Y /I /D target\\lib\\locale target\\Release\\lib\\locale
 )
\ No newline at end of file



More information about the cvs mailing list