Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit aeb2a3e

Browse files
Fix formatting of CMake files
1 parent 948679f commit aeb2a3e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ dynamic_project_options(
118118
--suppress=unmatchedSuppression
119119
--suppress=passedByValue
120120
--suppress=syntaxError
121-
--inconclusive
122-
)
121+
--inconclusive)
123122

124123
target_compile_features(project_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD})
125124
# TODO: The INTERFACE library NAMESPACE ALIAS are missing! CK
@@ -165,7 +164,11 @@ endif()
165164

166165
# Add other targets that you want installed here, be default we just package the one executable
167166
# we know we want to ship
168-
package_project(TARGETS intro project_options project_warnings
167+
package_project(
168+
TARGETS
169+
intro
170+
project_options
171+
project_warnings
169172
# FIXME: this does not work! CK
170173
# PRIVATE_DEPENDENCIES_CONFIGURED project_options project_warnings
171174
)

configured_files/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
21
# A very simple example of a configured file that might need to be
32
# converted to one that is publicly installed in the case that
43
# you are developing a library
5-
configure_file("config.hpp.in" "${CMAKE_BINARY_DIR}/configured_files/include/internal_use_only/config.hpp" ESCAPE_QUOTES)
6-
7-
4+
configure_file("config.hpp.in" "${CMAKE_BINARY_DIR}/configured_files/include/internal_use_only/config.hpp"
5+
ESCAPE_QUOTES)

0 commit comments

Comments
 (0)