Skip to content

Commit d3d632d

Browse files
committed
Use multi-argument form of FILE command
1 parent 81e56cc commit d3d632d

File tree

27 files changed

+62
-77
lines changed

27 files changed

+62
-77
lines changed

scripts/glucose_CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ add_library(glucose-condensed
66
core/Solver.cc
77
)
88

9+
set_target_properties(
10+
glucose-condensed
11+
PROPERTIES
12+
CXX_STANDARD 11
13+
CXX_STANDARD_REQUIRED true
14+
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
15+
)
16+
917
target_include_directories(glucose-condensed
1018
PUBLIC
1119
${CMAKE_CURRENT_SOURCE_DIR}

scripts/minisat2_CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ add_library(minisat2-condensed
66
minisat/core/Solver.cc
77
)
88

9+
set_target_properties(
10+
minisat2-condensed
11+
PROPERTIES
12+
CXX_STANDARD 11
13+
CXX_STANDARD_REQUIRED true
14+
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
15+
)
16+
917
target_include_directories(minisat2-condensed
1018
PUBLIC
1119
${CMAKE_CURRENT_SOURCE_DIR}

src/analyses/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
file(GLOB_RECURSE sources "*.cpp")
2-
file(GLOB_RECURSE headers "*.h")
3-
add_library(analyses ${sources} ${headers})
1+
file(GLOB_RECURSE sources "*.cpp" "*.h")
2+
add_library(analyses ${sources})
43

54
generic_includes(analyses)
65

src/ansi-c/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ set(extra_dependencies
9696
${CMAKE_CURRENT_BINARY_DIR}/library-check.stamp
9797
)
9898

99-
file(GLOB_RECURSE sources "*.cpp")
100-
file(GLOB_RECURSE headers "*.h")
99+
file(GLOB_RECURSE sources "*.cpp" "*.h")
101100

102101
list(REMOVE_ITEM sources
103102
"${CMAKE_CURRENT_SOURCE_DIR}/library/converter.cpp"
@@ -106,7 +105,6 @@ list(REMOVE_ITEM sources
106105

107106
add_library(ansi-c
108107
${sources}
109-
${headers}
110108
${BISON_parser_OUTPUTS}
111109
${FLEX_scanner_OUTPUTS}
112110
)

src/assembler/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
generic_flex(assembler)
22

3-
file(GLOB_RECURSE sources "*.cpp")
4-
file(GLOB_RECURSE headers "*.h")
3+
file(GLOB_RECURSE sources "*.cpp" "*.h")
54
add_library(assembler
65
${sources}
7-
${headers}
86
${FLEX_scanner_OUTPUTS}
97
)
108

src/cbmc/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Library
2-
file(GLOB_RECURSE sources "*.cpp")
3-
file(GLOB_RECURSE headers "*.h")
2+
file(GLOB_RECURSE sources "*.cpp" "*.h")
43
list(REMOVE_ITEM sources
54
${CMAKE_CURRENT_SOURCE_DIR}/cbmc_main.cpp
65
)
7-
add_library(cbmc-lib ${sources} ${headers})
6+
add_library(cbmc-lib ${sources})
87

98
generic_includes(cbmc-lib)
109

src/clobber/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Library
2-
file(GLOB_RECURSE sources "*.cpp")
3-
file(GLOB_RECURSE headers "*.h")
2+
file(GLOB_RECURSE sources "*.cpp" "*.h")
43
list(REMOVE_ITEM sources
54
${CMAKE_CURRENT_SOURCE_DIR}/clobber_main.cpp
65
)
7-
add_library(clobber-lib ${sources} ${headers})
6+
add_library(clobber-lib ${sources})
87

98
generic_includes(clobber-lib)
109

src/cpp/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
file(GLOB_RECURSE sources "*.cpp")
2-
file(GLOB_RECURSE headers "*.h")
3-
add_library(cpp ${sources} ${headers})
1+
file(GLOB_RECURSE sources "*.cpp" "*.h")
2+
add_library(cpp ${sources})
43

54
generic_includes(cpp)
65

src/goto-analyzer/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Library
2-
file(GLOB_RECURSE sources "*.cpp")
3-
file(GLOB_RECURSE headers "*.h")
2+
file(GLOB_RECURSE sources "*.cpp" "*.h")
43
list(REMOVE_ITEM sources
54
${CMAKE_CURRENT_SOURCE_DIR}/goto_analyzer_main.cpp
65
)
7-
add_library(goto-analyzer-lib ${sources} ${headers})
6+
add_library(goto-analyzer-lib ${sources})
87

98
generic_includes(goto-analyzer-lib)
109

src/goto-cc/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Library
2-
file(GLOB_RECURSE sources "*.cpp")
3-
file(GLOB_RECURSE headers "*.h")
2+
file(GLOB_RECURSE sources "*.cpp" "*.h")
43
list(REMOVE_ITEM sources
54
${CMAKE_CURRENT_SOURCE_DIR}/goto_cc_main.cpp
65
)
7-
add_library(goto-cc-lib ${sources} ${headers})
6+
add_library(goto-cc-lib ${sources})
87

98
generic_includes(goto-cc-lib)
109

0 commit comments

Comments
 (0)