diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-05-11 17:38:11 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-05-11 17:47:29 +0800 |
commit | b07331fbb301cfc08c53da0b81856c1360dcc963 (patch) | |
tree | be0b137f41e6f18e59d9559a97ef7dd1452cddf3 | |
parent | 6cc71a188f3c59b32ac1f131ee74c703f1f81a70 (diff) | |
download | dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar.gz dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar.bz2 dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar.lz dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar.xz dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.tar.zst dexon-solidity-b07331fbb301cfc08c53da0b81856c1360dcc963.zip |
CMake: set default RUNTIME_OUTPUT_DIRECTORY property to "bin"
This commit changes output directory for runtime components (executables and DLLs) to "bin" directory. That allows running executables on Windows without need of install step.
Closes ethereum/cpp-ethereum#1821
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f8150806..eb8fea95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,15 +19,10 @@ set(EXECUTABLE evmasm) file(GLOB HEADERS "*.h") -if (ETH_STATIC) - add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS}) -else() - add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS}) -endif() +add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) target_link_libraries(${EXECUTABLE} evmcore) target_link_libraries(${EXECUTABLE} devcrypto) install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} ) - |