No longer use bin & lib sub-folders in the installers (#1969)

* Remove bin & lib sub-folders

* Upgrade CMake version for travis/mac
This commit is contained in:
Wesley Shillingford 2019-05-09 06:40:25 +01:00 committed by GitHub
commit f00b8a5399
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 21 deletions

View file

@ -32,7 +32,7 @@ jobs:
os: osx
compiler: clang
before_install:
- brew update && brew install qt5 && brew cask install xquartz && brew install rust;
- brew update && brew install qt5 && brew cask install xquartz && brew install rust && brew upgrade cmake;
install:
- brew install ccache;
- export PATH="/usr/local/opt/ccache/libexec:$PATH";

View file

@ -415,6 +415,8 @@ if (NANO_GUI OR RAIBLOCKS_GUI)
if (APPLE)
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/Info.plist.in ${CMAKE_SOURCE_DIR}/Info.plist @ONLY)
install (TARGETS nano_wallet DESTINATION Nano.app/Contents/MacOS)
install (TARGETS nano_node DESTINATION Nano.app/Contents/MacOS)
install (TARGETS nano_rpc DESTINATION Nano.app/Contents/MacOS)
install (FILES Info.plist DESTINATION Nano.app/Contents)
install (FILES qt.conf DESTINATION Nano.app/Contents/Resources)
install (DIRECTORY ${Qt5_DIR}/../../QtCore.framework DESTINATION Nano.app/Contents/Frameworks)
@ -452,9 +454,7 @@ if (NANO_GUI OR RAIBLOCKS_GUI)
install (FILES ${Qt5WindowsPlugin} DESTINATION platforms)
else ()
install(TARGETS nano_wallet
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
RUNTIME DESTINATION .
)
endif ()
endif ()

View file

@ -53,11 +53,3 @@ target_compile_definitions(nano_lib
PUBLIC
-DACTIVE_NETWORK=${ACTIVE_NETWORK}
)
if ((NANO_GUI OR RAIBLOCKS_GUI) AND NOT APPLE)
install(TARGETS nano_lib
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
endif()

View file

@ -26,8 +26,6 @@ set_target_properties (nano_node
if ((NANO_GUI OR RAIBLOCKS_GUI) AND NOT APPLE)
install(TARGETS nano_node
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
RUNTIME DESTINATION .
)
endif()

View file

@ -19,9 +19,9 @@ target_compile_definitions(nano_rpc
-DNANO_VERSION_MAJOR=${CPACK_PACKAGE_VERSION_MAJOR}
-DNANO_VERSION_MINOR=${CPACK_PACKAGE_VERSION_MINOR}
-DNANO_VERSION_PATCH=${CPACK_PACKAGE_VERSION_PATCH})
install(TARGETS nano_rpc
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
if ((NANO_GUI OR RAIBLOCKS_GUI) AND NOT APPLE)
install(TARGETS nano_rpc
RUNTIME DESTINATION .
)
endif()