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
ab250042
Commit
ab250042
authored
Aug 24, 2017
by
Adrian Antonana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: add some commend blocks to clearly differentiate CMakeLists file sections
parent
5504630e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
CMakeLists.txt
+9
-0
No files found.
CMakeLists.txt
View file @
ab250042
...
@@ -11,6 +11,9 @@ include(CTest)
...
@@ -11,6 +11,9 @@ include(CTest)
include
(
CMakeDependentOption
)
include
(
CMakeDependentOption
)
include
(
GNUInstallDirs
)
include
(
GNUInstallDirs
)
#---------------------------------------------------------------------------------------
# compiler config
#---------------------------------------------------------------------------------------
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
...
@@ -18,6 +21,9 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCH
...
@@ -18,6 +21,9 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCH
set
(
CMAKE_CXX_FLAGS
"-Wall
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"-Wall
${
CMAKE_CXX_FLAGS
}
"
)
endif
()
endif
()
#---------------------------------------------------------------------------------------
# spdlog target
#---------------------------------------------------------------------------------------
add_library
(
spdlog INTERFACE
)
add_library
(
spdlog INTERFACE
)
option
(
SPDLOG_BUILD_EXAMPLES
"Build examples"
OFF
)
option
(
SPDLOG_BUILD_EXAMPLES
"Build examples"
OFF
)
...
@@ -43,6 +49,9 @@ if(SPDLOG_BUILD_TESTING)
...
@@ -43,6 +49,9 @@ if(SPDLOG_BUILD_TESTING)
add_subdirectory
(
tests
)
add_subdirectory
(
tests
)
endif
()
endif
()
#---------------------------------------------------------------------------------------
# Install/export targets and files
#---------------------------------------------------------------------------------------
set
(
config_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
"
)
set
(
config_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
"
)
set
(
include_install_dir
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
set
(
include_install_dir
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
set
(
pkgconfig_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/pkgconfig"
)
set
(
pkgconfig_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/pkgconfig"
)
...
...
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