X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.windows;h=ea6ccc20bde68b2db0d9a2cca45cfd59133ae743;hb=3106945d8d3322e5cbd5658d482c9ffed2d892c0;hp=74ff6904f6cafef74b55279e17b513d7a6e6cd81;hpb=f97a7c7332f8e806d4bee6a8ce4dff706e7cdfbd;p=platform%2Fupstream%2Fglog.git diff --git a/README.windows b/README.windows index 74ff690..ea6ccc2 100644 --- a/README.windows +++ b/README.windows @@ -1,26 +1,17 @@ -This project has begun being ported to Windows. A working solution -file exists in this directory: - google-glog.sln +This project has been ported to Windows, including stack tracing, signal +handling, and unit tests. -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. +A Visual Studio solution file is explicitly not provided because it is not +maintainable. Instead, a CMake build system exists to generate the correct +solution for your version of Visual Studio. -Note that stack tracing and some unittests are not ported -yet. +In short, + (1) Install CMake from: https://cmake.org/download/ + (2) With CMake on your PATH, run `cmake .` to generate the build files + (3) Either use `cmake --build`, or open the generated solution -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 +CMake provides different generators, and by default will pick the most relevant +one to your environment. If you need a specific version of Visual Studio, use +`cmake . -G `, and see `cmake --help` for the available +generators. Also see `-T `, which can used to request the native +x64 toolchain with `-T host=x64`. \ No newline at end of file