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
c7e35f83
Commit
c7e35f83
authored
Jan 08, 2016
by
Sergiu Dotenco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CMake usage instructions
parent
780efcc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
INSTALL.md
cmake/INSTALL.md
+30
-0
No files found.
cmake/INSTALL.md
0 → 100644
View file @
c7e35f83
Building Glog with CMake
========================
1.
Create a build directory and
`cd`
to it.
2.
Run
```
bash
cmake path/to/glog
```
3. Afterwards, generated files
(
GNU make, Visual Studio, etc.
)
can be used to
compile the project.
Consuming Glog
in
a CMake Project
=================================
To use Glog
in
your project
`
myproj
`
, use:
```
cmake
cmake_minimum_required (VERSION 3.0)
project (myproj)
find_package (glog 0.3.4 REQUIRED)
add_executable (myapp main.cpp)
target_link_libraries (myapp glog::glog)
```
Compile definitions and options will be added automatically to your target as
needed.
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