Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
b3695ee3
Commit
b3695ee3
authored
Aug 01, 2017
by
Shinichiro Hamaji
Committed by
GitHub
Aug 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #218 from andschwa/remove-sln
Update Windows docs
parents
3faeb50c
a2a66f61
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
67 deletions
+23
-67
.gitignore
.gitignore
+8
-0
README.windows
README.windows
+15
-23
google-glog.sln
google-glog.sln
+0
-44
No files found.
.gitignore
View file @
b3695ee3
...
@@ -2,3 +2,10 @@ autom4te.cache
...
@@ -2,3 +2,10 @@ autom4te.cache
glog-*.tar.gz
glog-*.tar.gz
packages/rpm-unknown
packages/rpm-unknown
packages/debian-*
packages/debian-*
CMakeCache.txt
CMakeFiles/
*.cmake
config.h
*.sln
*.vcxproj
*.filters
\ No newline at end of file
README.windows
View file @
b3695ee3
This project has begun being ported to Windows. A working solution
This project has been ported to Windows, including stack tracing, signal
file exists in this directory:
handling, and unit tests.
google-glog.sln
You can load this solution file into VC++ 9.0 (Visual Studio
A Visual Studio solution file is explicitly not provided because it is not
2008). You may also be able to use this solution file with older
maintainable. Instead, a CMake build system exists to generate the correct
Visual Studios by converting the solution file
.
solution for your version of Visual Studio
.
Note that stack tracing and some unittests are not ported
In short,
yet.
(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
CMake provides different generators, and by default will pick the most relevant
libglog_static and logging_unittest_static, which does this. For this
one to your environment. If you need a specific version of Visual Studio, use
to work, you'll need to add "/D GOOGLE_GLOG_DLL_DECL=" to the compile
`cmake . -G <generator-name>`, and see `cmake --help` for the available
line of every glog's .cc file.
generators. Also see `-T <toolset-name>`, which can used to request the native
x64 toolchain with `-T host=x64`.
I have little experience with Windows programming, so there may be
\ No newline at end of file
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
https://github.com/google/glog/issues
-- Shinichiro Hamaji
Last modified: 23 January 2009
google-glog.sln
deleted
100755 → 0
View file @
3faeb50c
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libglog", "vsprojects\libglog\libglog.vcproj", "{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logging_unittest", "vsprojects\logging_unittest\logging_unittest.vcproj", "{DD0690AA-5E09-46B5-83FD-4B28604CABA8}"
ProjectSection(ProjectDependencies) = postProject
{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1} = {34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libglog_static", "vsprojects\libglog_static\libglog_static.vcproj", "{772C2111-BBBF-49E6-B912-198A7F7A88E5}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logging_unittest_static", "vsprojects\logging_unittest_static\logging_unittest_static.vcproj", "{9B239B45-84A9-4E06-AC46-8E220CD43974}"
ProjectSection(ProjectDependencies) = postProject
{772C2111-BBBF-49E6-B912-198A7F7A88E5} = {772C2111-BBBF-49E6-B912-198A7F7A88E5}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}.Debug|Win32.ActiveCfg = Debug|Win32
{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}.Debug|Win32.Build.0 = Debug|Win32
{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}.Release|Win32.ActiveCfg = Release|Win32
{34BD04BD-BC1D-4BFC-AAFC-ED02D9E960F1}.Release|Win32.Build.0 = Release|Win32
{DD0690AA-5E09-46B5-83FD-4B28604CABA8}.Debug|Win32.ActiveCfg = Debug|Win32
{DD0690AA-5E09-46B5-83FD-4B28604CABA8}.Debug|Win32.Build.0 = Debug|Win32
{DD0690AA-5E09-46B5-83FD-4B28604CABA8}.Release|Win32.ActiveCfg = Release|Win32
{DD0690AA-5E09-46B5-83FD-4B28604CABA8}.Release|Win32.Build.0 = Release|Win32
{772C2111-BBBF-49E6-B912-198A7F7A88E5}.Debug|Win32.ActiveCfg = Debug|Win32
{772C2111-BBBF-49E6-B912-198A7F7A88E5}.Debug|Win32.Build.0 = Debug|Win32
{772C2111-BBBF-49E6-B912-198A7F7A88E5}.Release|Win32.ActiveCfg = Release|Win32
{772C2111-BBBF-49E6-B912-198A7F7A88E5}.Release|Win32.Build.0 = Release|Win32
{9B239B45-84A9-4E06-AC46-8E220CD43974}.Debug|Win32.ActiveCfg = Debug|Win32
{9B239B45-84A9-4E06-AC46-8E220CD43974}.Debug|Win32.Build.0 = Debug|Win32
{9B239B45-84A9-4E06-AC46-8E220CD43974}.Release|Win32.ActiveCfg = Release|Win32
{9B239B45-84A9-4E06-AC46-8E220CD43974}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment