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:
parent
95fdb3455d
commit
f00b8a5399
5 changed files with 11 additions and 21 deletions
|
@ -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";
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue