Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
a95f413c
Commit
a95f413c
authored
May 04, 2016
by
Kevin M. Godby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make vendor targets optional.
parent
350ff13d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
vendor/CMakeLists.txt
vendor/CMakeLists.txt
+17
-16
No files found.
vendor/CMakeLists.txt
View file @
a95f413c
...
...
@@ -5,20 +5,21 @@
# Most of these libraries are used for running comparison benchmarks against
# other logging libraries.
add_subdirectory
(
zf_log
)
add_subdirectory
(
glog
)
add_library
(
easylogging INTERFACE
)
set
(
SPDLOG_VENDORED_EASYLOGGING_ROOT
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/easyloggingpp"
CACHE INTERNAL
""
FORCE
)
target_include_directories
(
easylogging INTERFACE
"
${
SPDLOG_VENDORED_EASYLOGGING_ROOT
}
/src"
)
add_subdirectory
(
g3log
)
#add_library(zflog INTERFACE)
#set(SPDLOG_VENDORED_ZFLOG_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/zf_log" CACHE INTERNAL "" FORCE)
#target_include_directories(zflog INTERFACE "${SPDLOG_VENDORED_ZFLOG_ROOT}/zf_log")
##target_compile_definitions(zflog INTERFACE ZFLOG_DEFINITIONS)
if
(
IS_DIRECTORY zf_log
)
add_subdirectory
(
zf_log
)
endif
()
if
(
IS_DIRECTORY glog
)
add_subdirectory
(
glog
)
endif
()
if
(
IS_DIRECTORY easyloggingpp
)
add_library
(
easylogging INTERFACE
)
set
(
SPDLOG_VENDORED_EASYLOGGING_ROOT
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/easyloggingpp"
CACHE INTERNAL
""
FORCE
)
target_include_directories
(
easylogging INTERFACE
"
${
SPDLOG_VENDORED_EASYLOGGING_ROOT
}
/src"
)
endif
()
if
(
IS_DIRECTORY g3log
)
add_subdirectory
(
g3log
)
endif
()
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