Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
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
gflags
Commits
7abcbdcb
Commit
7abcbdcb
authored
Aug 01, 2013
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gflags library which is built with NO_THREADS definition.
parent
ac3cb02b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
CMakeLists.txt
+3
-0
CMakeLists.txt
test/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
7abcbdcb
...
@@ -132,7 +132,10 @@ endif ()
...
@@ -132,7 +132,10 @@ endif ()
include_directories
(
"
${
PROJECT_SOURCE_DIR
}
/src"
)
include_directories
(
"
${
PROJECT_SOURCE_DIR
}
/src"
)
include_directories
(
"
${
PROJECT_BINARY_DIR
}
/include"
)
include_directories
(
"
${
PROJECT_BINARY_DIR
}
/include"
)
include_directories
(
"
${
PROJECT_BINARY_DIR
}
/include/
${
GFLAGS_NAMESPACE
}
"
)
include_directories
(
"
${
PROJECT_BINARY_DIR
}
/include/
${
GFLAGS_NAMESPACE
}
"
)
add_library
(
gflags
${
GFLAGS_SRCS
}
)
add_library
(
gflags
${
GFLAGS_SRCS
}
)
add_library
(
gflags_nothreads
${
GFLAGS_SRCS
}
)
set_target_properties
(
gflags_nothreads PROPERTIES COMPILE_DEFINITIONS NO_THREADS
)
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# testing
# testing
...
...
test/CMakeLists.txt
View file @
7abcbdcb
...
@@ -11,7 +11,7 @@ set (TEMPDIR "${PROJECT_BINARY_DIR}/Testing/Temporary")
...
@@ -11,7 +11,7 @@ set (TEMPDIR "${PROJECT_BINARY_DIR}/Testing/Temporary")
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# common include directories and link libraries
# common include directories and link libraries
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
link_libraries
(
gflags
)
link_libraries
(
gflags
_nothreads
)
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# test executables
# test executables
...
...
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