Add README.windows, based on google-perftools'.
author <shinichiro.hamaji@gmail.com> <>
Fri, 23 Jan 2009 19:01:22 +0000 (19:01 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Fri, 23 Jan 2009 19:01:22 +0000 (19:01 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@35 eb4d4688-79bd-11dd-afb4-1d65580434c0

Makefile.am
Makefile.in
README.windows [new file with mode: 0644]

index 3d558e9..5bd1973 100644 (file)
@@ -38,7 +38,7 @@ docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
 ## This is for HTML and other documentation you want to install.
 ## Add your documentation files (in doc/) in addition to these
 ## top-level boilerplate files.  Also add a TODO file if you have one.
-dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README \
+dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README.windows \
                 doc/designstyle.css doc/glog.html
 
 ## The libraries (.so's) you want to install
@@ -198,6 +198,8 @@ libglog_la_LIBADD = $(COMMON_LIBS)
 WINDOWS_PROJECTS = google-glog.sln
 WINDOWS_PROJECTS += vsprojects/libglog/libglog.vcproj
 WINDOWS_PROJECTS += vsprojects/logging_unittest/logging_unittest.vcproj
+WINDOWS_PROJECTS += vsprojects/libglog_static/libglog_static.vcproj
+WINDOWS_PROJECTS += vsprojects/logging_unittest_static/logging_unittest_static.vcproj
 
 ## ^^^^ END OF RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS
 
index e801dd3..a67e157 100644 (file)
@@ -445,7 +445,7 @@ glogincludedir = $(includedir)/glog
 gloginclude_HEADERS = src/glog/log_severity.h
 nodist_gloginclude_HEADERS = src/glog/logging.h src/glog/raw_logging.h src/glog/vlog_is_on.h src/glog/stl_logging.h
 noinst_HEADERS = src/glog/logging.h.in src/glog/raw_logging.h.in src/glog/vlog_is_on.h.in src/glog/stl_logging.h.in
-dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README \
+dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README.windows \
                 doc/designstyle.css doc/glog.html
 
 lib_LTLIBRARIES = libglog.la
@@ -563,7 +563,9 @@ libglog_la_CXXFLAGS = $(PTRHEAD_CFLAGS) -DNDEBUG
 libglog_la_LDFLAGS = $(PTRHEAD_CFLAGS)
 libglog_la_LIBADD = $(COMMON_LIBS)
 WINDOWS_PROJECTS = google-glog.sln vsprojects/libglog/libglog.vcproj \
-       vsprojects/logging_unittest/logging_unittest.vcproj
+       vsprojects/logging_unittest/logging_unittest.vcproj \
+       vsprojects/libglog_static/libglog_static.vcproj \
+       vsprojects/logging_unittest_static/logging_unittest_static.vcproj
 EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
        $(SCRIPTS) src/logging_unittest.err src/demangle_unittest.txt \
        src/windows/config.h src/windows/port.h src/windows/port.cc \
diff --git a/README.windows b/README.windows
new file mode 100644 (file)
index 0000000..74ff690
--- /dev/null
@@ -0,0 +1,26 @@
+This project has begun being ported to Windows.  A working solution
+file exists in this directory:
+    google-glog.sln
+
+You can load this solution file into VC++ 9.0 (Visual Studio
+2008).  You may also be able to use this solution file with older
+Visual Studios by converting the solution file.
+
+Note that stack tracing and some unittests are not ported
+yet.
+
+You can also link glog code in statically -- see the example project
+libglog_static and logging_unittest_static, which does this.  For this
+to work, you'll need to add "/D GOOGLE_GLOG_DLL_DECL=" to the compile
+line of every glog's .cc file.
+
+I have little experience with Windows programming, so there may be
+better ways to set this up than I've done!  If you run across any
+problems, please post to the google-glog Google Group, or report
+them on the google-glog Google Code site:
+   http://groups.google.com/group/google-glog
+   http://code.google.com/p/google-glog/issues/list
+
+-- Shinichiro Hamaji
+
+Last modified: 23 January 2009