diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2011-01-23 23:51:04 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2011-01-23 23:51:04 +0800 |
commit | 44104fb7fff624a5c7832cef9ab0f8e97e44c202 (patch) | |
tree | 3c738c23ea08e7b07c052c112ad8ac34854082f1 | |
parent | e0a9b67a68c3ece776599a3585d4f9394ec9691b (diff) | |
download | atk-44104fb7fff624a5c7832cef9ab0f8e97e44c202.tar.gz |
Bug 636190: Updates to the MSVC Project Files Stuff
-Added "build" to SUBDIRS in to ensure the files will be distributed
-Added README.txt for Visual c++ 2008 compilation
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | build/Makefile.am | 3 | ||||
-rw-r--r-- | build/win32/Makefile.am | 2 | ||||
-rw-r--r-- | build/win32/vs9/Makefile.am | 7 | ||||
-rw-r--r-- | build/win32/vs9/README.txt | 83 |
5 files changed, 96 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f9b1aa7..6c5fe01 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ # Process this file with automake to create Makefile.in. ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -SUBDIRS=atk tests docs po +SUBDIRS=atk tests docs po build EXTRA_DIST = \ MAINTAINERS \ diff --git a/build/Makefile.am b/build/Makefile.am new file mode 100644 index 0000000..1e47317 --- /dev/null +++ b/build/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = \ + win32 + diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am new file mode 100644 index 0000000..a925ca1 --- /dev/null +++ b/build/win32/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = \ + vs9 diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am new file mode 100644 index 0000000..f215e4b --- /dev/null +++ b/build/win32/vs9/Makefile.am @@ -0,0 +1,7 @@ +EXTRA_DIST = \ + README.txt \ + atk.sln \ + atk.vsprops \ + atk.vcproj \ + atk.vcprojin \ + install.vcproj diff --git a/build/win32/vs9/README.txt b/build/win32/vs9/README.txt new file mode 100644 index 0000000..e040875 --- /dev/null +++ b/build/win32/vs9/README.txt @@ -0,0 +1,83 @@ +Note that all this is rather experimental. + +This VS9 solution and the projects it includes are intented to be used +in a ATK source tree unpacked from a tarball. In a git checkout you +first need to use some Unix-like environment or manual work to expand +the .in files needed, mainly config.h.win32.in into config.h.win32. +You will also need to expand atk.vcprojin here into +atk.vcproj. + +The dependencies for this package are gettext-runtime (libintl), GLib* +(inclusive of GLib, GModule, GThread, GObject) and ZLib. + +a) look for all of the dependencies (except GLib*) under + + http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ (32-bit) -OR- + http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ (64-bit) + + Please use the latest versions of these libraries that are available there, + these are packaged by Tor Lillqvist, which are built with MinGW/GCC AFAIK. + Please see b) below regarding the build of GLib* + +-OR- + +b) Build them yourself with VS9 (but you may most probably wish to get + gettext-runtime from the URL(s) mentioned in a)). Use the latest + stable versions for them (you may need to get the latest unstable version of + GLib if you are using an unstable version of ATK): + + GLib*: Grab the latest sources from http://www.gtk.org under "Download" + (stable only-please make a search for the latest unstable versions) + ZLib: http://www.zlib.net + + The above 2 packages all have supported mechanisms (Makefiles and/or Project + Files) for building under VS9 (upgrade the Project Files from earlier VS + versions will do for these, when applicable) + +* This GLib refers to a build that is built by VS9 + +Set up the source tree as follows under some arbitrary top +folder <root>: + +<root>\atk\<this-atk-source-tree> +<root>\vs9\<PlatformName> + +*this* file you are now reading is thus located at +<root>\atk\<this-atk-source-tree>\build\win32\vs9\README. + +<PlatformName> is either Win32 or x64, as in VS9 project files. + +You should unpack the <dependent-package>-dev and <dependent-packge> (runtime) +into <root>\vs9\<PlatformName>, if you download any of the packages from + +http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ (32-bit) -OR- +http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ (64-bit) + +so that for instance libintl.h end up at +<root>\vs9\<PlatformName>\include\libintl.h. + +If you build any of the dependencies yourselves, copy the: +-DLLs and EXEs into <root>\vs9\<PlatformName>\bin +-headers into <root>\vs9\<PlatformName>\include\ +-LIBs into <root>\vs9\<PlatformName>\lib + +If you have not built GLib with VS9 and placed the LIBs and headers in a +place where VS9 can find them automatically, you should also uncompress +your GLib sources in <root>\ and build it from there, following the +instructions in <root>\glib<-version>\build\win32\vs9, so that the required +headers, EXEs, DLLs and LIBs will end up in +<root>\vs9\<PlatformName>\include\glib-2.0 (headers) +<root>\vs9\<PlatformName>\lib (LIBs, also glib-2.0/include/glibocnfig.h) +<root>\vs9\<PlatformName>\bin (EXEs/DLLs) +respectively. + +After the build of ATK, the "install" project will copy build results +and headers into their appropriate location under <root>\vs9\<PlatformName>. +For instance, built DLLs go into <root>\vs9\<PlatformName>\bin, built LIBs into +<root>\vs9\<PlatformName>\lib and atk headers into +<root>\vs9\<PlatformName>\include\atk-1.0. This is then from where +project files higher in the stack are supposed to look for them, not +from a specific ATK source tree. + +--Chun-wei Fan <fanc999 --at-- yahoo _dot_ com _dot_ tw> +--(adapted from the GLib VS9 README.txt file originally written by Tor Lillqvist) |