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
c6a9986f
Commit
c6a9986f
authored
Mar 17, 2014
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor style change to be consistent.
parent
7b63ae8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+3
-3
No files found.
CMakeLists.txt
View file @
c6a9986f
...
...
@@ -37,7 +37,7 @@ if (NOT BUILD_gflags_LIB AND NOT BUILD_gflags_nothreads_LIB)
endif
()
option
(
BUILD_NEGATIVE_COMPILATION_TESTS
"Request addition of negative compilation tests."
OFF
)
mark_as_advanced
(
BUILD_NEGATIVE_COMPILATION_TESTS
)
mark_as_advanced
(
BUILD_NEGATIVE_COMPILATION_TESTS
)
set
(
GFLAGS_NAMESPACE
"gflags"
CACHE STRING
"C++ namespace identifier of gflags library."
)
mark_as_advanced
(
GFLAGS_NAMESPACE
)
...
...
@@ -65,7 +65,7 @@ include (CheckIncludeFileCXX)
include
(
CheckCXXSymbolExists
)
set
(
GFLAGS_INTTYPES_FORMAT
""
CACHE STRING
"Format of integer types:
\"
C99
\"
(uint32_t),
\"
BSD
\"
(u_int32_t),
\"
VC7
\"
(__int32)"
)
mark_as_advanced
(
GFLAGS_INTTYPES_FORMAT
)
mark_as_advanced
(
GFLAGS_INTTYPES_FORMAT
)
if
(
NOT GFLAGS_INTTYPES_FORMAT
)
foreach
(
type IN ITEMS uint32_t u_int32_t __int32
)
check_type_size
(
${
type
}
SIZE LANGUAGE CXX
)
...
...
@@ -168,7 +168,7 @@ set (LIB_TARGETS)
if
(
BUILD_gflags_LIB
)
add_library
(
gflags
${
GFLAGS_SRCS
}
${
PRIVATE_HDRS
}
${
PUBLIC_HDRS
}
)
if
(
WIN32 AND BUILD_SHARED_LIBS
)
set_target_properties
(
gflags
PROPERTIES COMPILE_DEFINITIONS GFLAGS_DLL_EXPORT
)
set_target_properties
(
gflags PROPERTIES COMPILE_DEFINITIONS GFLAGS_DLL_EXPORT
)
endif
()
list
(
APPEND LIB_TARGETS gflags
)
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