Browse files

Add README.windows, based on google-perftools'.

  • Loading branch information...
1 parent 2dcfd57 commit 6338905ca9b3cffc6a174d3c16e27fa28c9a47d2 shinichiro.hamaji committed Jan 23, 2009
Showing with 33 additions and 3 deletions.
  1. +3 −1 Makefile.am
  2. +4 −2 Makefile.in
  3. +26 −0 README.windows
View
4 Makefile.am
@@ -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
View
6 Makefile.in
@@ -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 \
View
26 README.windows
@@ -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

0 comments on commit 6338905

Please sign in to comment.