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

Merge pull request #5 from jpochyla/master

Add CMake file with c++ compilation on MSVC
This commit is contained in:
slush0 2014-02-17 18:50:49 +01:00
commit e17e0590f5

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})