1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00

add cmake file with c++ compilation on MSVC

This commit is contained in:
Jan Pochyla 2014-02-17 18:48:57 +01:00
parent 93e7f5ca8b
commit 166e19ba7c

5
CMakeLists.txt Normal file
View 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})