Last change
on this file since 811 was 811, checked in by nightmann, 14 years ago |
revert commit 805. So make will work again. We must find a better way to determine if we build for 64Bit.
|
File size:
527 bytes
|
Line | |
---|
1 | project (cscrypt)
|
---|
2 |
|
---|
3 | file (GLOB cscrypt_srcs "*.c")
|
---|
4 | file (GLOB cscrypt_hdrs "*.h")
|
---|
5 |
|
---|
6 | if (NOT HAVE_AES)
|
---|
7 | file (GLOB aes_srcs "aes/*.c")
|
---|
8 | file (GLOB aes_hdrs "aes/*.h")
|
---|
9 | endif (NOT HAVE_AES)
|
---|
10 |
|
---|
11 | if (NOT HAVE_SHA)
|
---|
12 | file (GLOB sha_srcs "sha/*.c")
|
---|
13 | file (GLOB sha_hdrs "sha/*.h")
|
---|
14 | endif (NOT HAVE_SHA)
|
---|
15 |
|
---|
16 | add_definitions ("-O3 -Winline -Werror -finline-functions -fomit-frame-pointer -s")
|
---|
17 |
|
---|
18 | set (lib_name "cscrypt")
|
---|
19 |
|
---|
20 | add_library (${lib_name} STATIC ${cscrypt_srcs} ${aes_srcs} ${sha_srcs} ${cscrypt_hdrs} ${aes_hdrs} ${sha_hdrs})
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.