From 166e19ba7c985b5643137d90ddaf2536749b4852 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 17 Feb 2014 18:48:57 +0100 Subject: [PATCH] add cmake file with c++ compilation on MSVC --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..da714d93b --- /dev/null +++ b/CMakeLists.txt @@ -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})