forked from kimlaine/bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
64 lines (61 loc) · 2.54 KB
/
CMakeLists.txt
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
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
target_sources(seal
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/baseconverter.cpp
${CMAKE_CURRENT_LIST_DIR}/blake2b.c
${CMAKE_CURRENT_LIST_DIR}/blake2xb.c
${CMAKE_CURRENT_LIST_DIR}/clipnormal.cpp
${CMAKE_CURRENT_LIST_DIR}/croots.cpp
${CMAKE_CURRENT_LIST_DIR}/globals.cpp
${CMAKE_CURRENT_LIST_DIR}/mempool.cpp
${CMAKE_CURRENT_LIST_DIR}/numth.cpp
${CMAKE_CURRENT_LIST_DIR}/polyarith.cpp
${CMAKE_CURRENT_LIST_DIR}/polyarithmod.cpp
${CMAKE_CURRENT_LIST_DIR}/polyarithsmallmod.cpp
${CMAKE_CURRENT_LIST_DIR}/rlwe.cpp
${CMAKE_CURRENT_LIST_DIR}/scalingvariant.cpp
${CMAKE_CURRENT_LIST_DIR}/smallntt.cpp
${CMAKE_CURRENT_LIST_DIR}/uintarith.cpp
${CMAKE_CURRENT_LIST_DIR}/uintarithmod.cpp
${CMAKE_CURRENT_LIST_DIR}/uintarithsmallmod.cpp
${CMAKE_CURRENT_LIST_DIR}/uintcore.cpp
${CMAKE_CURRENT_LIST_DIR}/ztools.cpp
)
# Create the config file
configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h.in ${CMAKE_CURRENT_LIST_DIR}/config.h)
install(
FILES
${CMAKE_CURRENT_LIST_DIR}/baseconverter.h
${CMAKE_CURRENT_LIST_DIR}/blake2.h
${CMAKE_CURRENT_LIST_DIR}/blake2-impl.h
${CMAKE_CURRENT_LIST_DIR}/clang.h
${CMAKE_CURRENT_LIST_DIR}/clipnormal.h
${CMAKE_CURRENT_LIST_DIR}/common.h
${CMAKE_CURRENT_LIST_DIR}/config.h
${CMAKE_CURRENT_LIST_DIR}/croots.h
${CMAKE_CURRENT_LIST_DIR}/defines.h
${CMAKE_CURRENT_LIST_DIR}/gcc.h
${CMAKE_CURRENT_LIST_DIR}/globals.h
${CMAKE_CURRENT_LIST_DIR}/hash.h
${CMAKE_CURRENT_LIST_DIR}/hestdparms.h
${CMAKE_CURRENT_LIST_DIR}/locks.h
${CMAKE_CURRENT_LIST_DIR}/mempool.h
${CMAKE_CURRENT_LIST_DIR}/msvc.h
${CMAKE_CURRENT_LIST_DIR}/numth.h
${CMAKE_CURRENT_LIST_DIR}/pointer.h
${CMAKE_CURRENT_LIST_DIR}/polyarith.h
${CMAKE_CURRENT_LIST_DIR}/polyarithmod.h
${CMAKE_CURRENT_LIST_DIR}/polyarithsmallmod.h
${CMAKE_CURRENT_LIST_DIR}/polycore.h
${CMAKE_CURRENT_LIST_DIR}/rlwe.h
${CMAKE_CURRENT_LIST_DIR}/scalingvariant.h
${CMAKE_CURRENT_LIST_DIR}/smallntt.h
${CMAKE_CURRENT_LIST_DIR}/uintarith.h
${CMAKE_CURRENT_LIST_DIR}/uintarithmod.h
${CMAKE_CURRENT_LIST_DIR}/uintarithsmallmod.h
${CMAKE_CURRENT_LIST_DIR}/uintcore.h
${CMAKE_CURRENT_LIST_DIR}/ztools.h
DESTINATION
${SEAL_INCLUDES_INSTALL_DIR}/seal/util
)