mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-18 11:21:11 +00:00
add cmake file with c++ compilation on MSVC
This commit is contained in:
parent
93e7f5ca8b
commit
166e19ba7c
5
CMakeLists.txt
Normal file
5
CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
set(SOURCES bignum.c ecdsa.c secp256k1.c sha2.c rand.c hmac.c bip32.c ripemd160.c bip39.c pbkdf2.c)
|
||||||
|
if(MSVC)
|
||||||
|
set_source_files_properties(${SOURCES} PROPERTIES LANGUAGE CXX)
|
||||||
|
endif(MSVC)
|
||||||
|
add_library(TrezorCrypto STATIC ${SOURCES})
|
Loading…
Reference in New Issue
Block a user