add cmake file with c++ compilation on MSVC

pull/25/head
Jan Pochyla 10 years ago
parent 93e7f5ca8b
commit 166e19ba7c

@ -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…
Cancel
Save