generated from JMARRUJO91/jazmyne
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CACOUNTY.LST
104 lines (93 loc) · 1.72 KB
/
CACOUNTY.LST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
cmake_minimum_required(VERSION 3.10)
project(YourProjectName)
# ... (Your other CMake project settings)
# Hash Validation Function
function(validate_hash file algorithm expected_hash)
execute_process(
COMMAND ${algorithm} -q ${file}
OUTPUT_VARIABLE actual_hash
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if (NOT "${actual_hash}" STREQUAL "${expected_hash}")
message(FATAL_ERROR "Hash mismatch for ${file} (${algorithm})")
endif()
endfunction()
# Define Files and Hashes
set(include_base_HXX
"SparseMatrix.hxx"
)
set(HASHES
"SparseMatrix.hxx"
MD5 24f4dae418d047fd765ec7a11d62a7b2
SHA1 34086a8e4a60d6a10a619aa11ef9dd7c41c56c5f
SHA256 fe523ffa1c842b99571343846ecbd3ededfd767fb44b869f98d5c27177c9f7c9
)
# Validate Hashes
foreach(file IN LISTS include_base_HXX)
list(GET HASHES ${file}_MD5 md5_hash)
validate_hash(${file} md5sum ${md5_hash})
list(GET HASHES ${file}_SHA1 sha1_hash)
validate_hash(${file} sha1sum ${sha1_hash})
list(GET HASHES ${file}_SHA256 sha256_hash)
validate_hash(${file} sha256sum ${sha256_hash})
endforeach()
# Install Headers
install(FILES ${include_base_HXX} DESTINATION include)
Alameda
Alpine
Amador
Butte
Calaveras
Colusa
Contra Costa
Del Norte
El Dorado
Fresno
Glenn
Humboldt
Imperial
Inyo
Kern
Kings
Lake
Lassen
Los Angeles
Madera
Marin
Mariposa
Mendocino
Merced
Modoc
Mono
Monterey
Napa
Nevada
Orange
Placer
Plumas
Riverside
Sacramento
San Benito
San Bernardino
San Diego
San Francisco City & County
San Joaquin
San Luis Obispo
San Mateo
Santa Barbara
Santa Clara
Santa Cruz
Shasta
Sierra
Siskiyou
Solano
Sonoma
Stanislaus
Sutter
Tehama
Trinity
Tulare
Tuolumne
Ventura
Yolo
Yuba