[grisbi-cvs] [SCM] grisbi branch, master, updated. 6e94777c62177e632a3c803c4e63b765e8112543

Gunee nobody at users.sourceforge.net
Tue Jun 1 21:52:15 CEST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  6e94777c62177e632a3c803c4e63b765e8112543 (commit)
      from  1bb3e55bbbc241ab38b6a6676700635c0d72b4bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6e94777c62177e632a3c803c4e63b765e8112543
Author: William OLLIVIER <guneemwelloeux at users.sourceforge.net>
Date:   Tue Jun 1 21:50:17 2010 +0200

    Finer linking, Multiple architectures
    
    Separated libraries for the linking step.
    Changed the paths to support multiple architecture with MSVC

-----------------------------------------------------------------------

Changes:
diff --git a/win32-msvc/CMakeLists.txt b/win32-msvc/CMakeLists.txt
index 399579a..2a015c5 100644
--- a/win32-msvc/CMakeLists.txt
+++ b/win32-msvc/CMakeLists.txt
@@ -58,18 +58,18 @@ ADD_DEFINITIONS(-DOFX_0_7=1)
 #ADD_DEFINITIONS(-DNOSSL=1)
 
 INCLUDE_DIRECTORIES(
-	target/gtk-dev/include/atk-1.0
-	target/gtk-dev/include/cairo
-	target/gtk-dev/include/glib-2.0
-	target/gtk-dev/include/gtk-2.0
-	target/gtk-dev/include/pango-1.0
-	target/gtk-dev/include
-	target/gtk-dev/lib/glib-2.0/include
-	target/gtk-dev/lib/gtk-2.0/include
-	target/plugins-dev/libofx/include
-	target/plugins-dev/libxml2/include
-	target/plugins-dev/iconv/include
-	target/plugins-dev/openssl/include
+	target/$(PlatformName)/gtk-dev/include/atk-1.0
+	target/$(PlatformName)/gtk-dev/include/cairo
+	target/$(PlatformName)/gtk-dev/include/glib-2.0
+	target/$(PlatformName)/gtk-dev/include/gtk-2.0
+	target/$(PlatformName)/gtk-dev/include/pango-1.0
+	target/$(PlatformName)/gtk-dev/include
+	target/$(PlatformName)/gtk-dev/lib/glib-2.0/include
+	target/$(PlatformName)/gtk-dev/lib/gtk-2.0/include
+	target/$(PlatformName)/plugins-dev/libofx/include
+	target/$(PlatformName)/plugins-dev/libxml2/include
+	target/$(PlatformName)/plugins-dev/iconv/include
+	target/$(PlatformName)/plugins-dev/openssl/include
 	../win32-msvc/src
 	../win32-msvc
 	../win32
@@ -80,34 +80,13 @@ INCLUDE_DIRECTORIES(
 )
 
 LINK_DIRECTORIES(
-	target/gtk-dev/lib
-	target/plugins-dev/libofx/lib
-	target/plugins-dev/libxml2/lib
-	target/plugins-dev/iconv/lib
-	target/plugins-dev/openssl/lib
-	target/plugins-dev/openssl/lib/VC
-	target/$(PlatformName)/$(OutDir)
-)
-
-LINK_LIBRARIES(
-	grisbi
-	cairo
-	gdk_pixbuf-2.0
-	gdk-win32-2.0
-	gio-2.0
-	glib-2.0
-	gmodule-2.0
-	gobject-2.0
-	gtk-win32-2.0
-	intl
-	pango-1.0
-	pangocairo-1.0
-	zdll
-	libofx
-	libxml2
-	iconv
-	libeay32
-	ssleay32
+	target/$(PlatformName)/gtk-dev/lib
+	target/$(PlatformName)/plugins-dev/libofx/lib
+	target/$(PlatformName)/plugins-dev/libxml2/lib
+	target/$(PlatformName)/plugins-dev/iconv/lib
+	target/$(PlatformName)/plugins-dev/openssl/lib
+	target/$(PlatformName)/plugins-dev/openssl/lib/VC
+	$(TargetDir)
 )
 
 SET (grisbi_source
@@ -321,8 +300,8 @@ SET (grisbi_source
 	../src/include.h
 	../src/main.c
 	../src/main.h
-	../src/main_cunit.c
-	../src/main_cunit.h
+#	../src/main_cunit.c
+#	../src/main_cunit.h
 	../src/menu.c
 	../src/menu.h
 	../src/meta_budgetary.c
@@ -401,6 +380,25 @@ ADD_EXECUTABLE(grisbi
 	${grisbi_source}
 )
 
+TARGET_LINK_LIBRARIES( grisbi
+	glib-2.0
+	intl
+	cairo
+	gdk_pixbuf-2.0
+	gdk-win32-2.0
+	gio-2.0
+	gmodule-2.0
+	gobject-2.0
+	gtk-win32-2.0
+	pango-1.0
+	pangocairo-1.0
+	zdll
+)
+
+set_target_properties ( grisbi
+	PROPERTIES ENABLE_EXPORTS 1
+)	
+
 ADD_DEPENDENCIES (grisbi prepare_env prepare_mo)
 
 ADD_LIBRARY ( ofx
@@ -439,8 +437,30 @@ ADD_CUSTOM_COMMAND ( TARGET openssl
 
 
 ADD_DEPENDENCIES (ofx grisbi)
+TARGET_LINK_LIBRARIES (ofx
+	glib-2.0
+	intl
+	grisbi
+	libofx
+)
 ADD_DEPENDENCIES (gnucash grisbi)
+TARGET_LINK_LIBRARIES (gnucash
+	glib-2.0
+	intl
+	grisbi
+	libxml2
+	iconv
+)
 ADD_DEPENDENCIES (openssl grisbi)
+TARGET_LINK_LIBRARIES (openssl
+	glib-2.0
+	intl
+	grisbi
+	gobject-2.0
+	gtk-win32-2.0
+	libeay32
+	ssleay32
+)
 
 ADD_CUSTOM_TARGET (prepare_env)
 


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list