diff options
| author | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
|---|---|---|
| committer | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
| commit | dceeb88444ce966caa1a133d2926d5f7213c87ff (patch) | |
| tree | d74c9c7d7e43c2a0d39d656c690c63050cff7f53 /src/CMakeLists.txt | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-phase0-20260815.tar.gz monzero-gui-phase0-20260815.tar.xz monzero-gui-phase0-20260815.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b5718df3..81ee3c41 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,26 +72,26 @@ set(monero_wallet_gui_sources ) if(NOT ANDROID) - add_executable(monero-wallet-gui ${EXECUTABLE_FLAG} ${monero_wallet_gui_sources}) + add_executable(monzero-wallet-gui ${EXECUTABLE_FLAG} ${monero_wallet_gui_sources}) else() - add_library(monero-wallet-gui SHARED ${monero_wallet_gui_sources}) - set_target_properties(monero-wallet-gui PROPERTIES COMPILE_DEFINITIONS "ANDROID") + add_library(monzero-wallet-gui SHARED ${monero_wallet_gui_sources}) + set_target_properties(monzero-wallet-gui PROPERTIES COMPILE_DEFINITIONS "ANDROID") endif() -set_target_properties(monero-wallet-gui PROPERTIES +set_target_properties(monzero-wallet-gui PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" MACOSX_BUNDLE TRUE MACOSX_BUNDLE_INFO_PLIST "${CMAKE_SOURCE_DIR}/share/Info.plist" ) # OpenGL -target_include_directories(monero-wallet-gui PUBLIC ${OPENGL_INCLUDE_DIR}) +target_include_directories(monzero-wallet-gui PUBLIC ${OPENGL_INCLUDE_DIR}) message(STATUS "OpenGL: include dir at ${OPENGL_INCLUDE_DIR}") message(STATUS "OpenGL: libraries at ${OPENGL_LIBRARIES}") -target_include_directories(monero-wallet-gui PUBLIC ${Qt5Gui_PRIVATE_INCLUDE_DIRS}) +target_include_directories(monzero-wallet-gui PUBLIC ${Qt5Gui_PRIVATE_INCLUDE_DIRS}) -target_include_directories(monero-wallet-gui PUBLIC +target_include_directories(monzero-wallet-gui PUBLIC ${CMAKE_SOURCE_DIR}/monero/include ${CMAKE_SOURCE_DIR}/monero/src ${CMAKE_SOURCE_DIR}/monero/external/easylogging++ @@ -107,7 +107,7 @@ target_include_directories(monero-wallet-gui PUBLIC ${X11_INCLUDE_DIR} ) -target_compile_definitions(monero-wallet-gui +target_compile_definitions(monzero-wallet-gui PUBLIC ${Qt5Widgets_DEFINITIONS} ${Qt5Qml_DEFINITIONS} @@ -118,12 +118,12 @@ if(APPLE) execute_process(COMMAND brew --prefix icu4c OUTPUT_VARIABLE ICU_ROOT OUTPUT_STRIP_TRAILING_WHITESPACE) endif() find_package(ICU REQUIRED COMPONENTS data i18n uc) - target_link_directories(monero-wallet-gui PRIVATE ${ICU_ROOT}/lib) + target_link_directories(monzero-wallet-gui PRIVATE ${ICU_ROOT}/lib) endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") -target_link_libraries(monero-wallet-gui +target_link_libraries(monzero-wallet-gui epee common net @@ -139,13 +139,13 @@ target_link_libraries(monero-wallet-gui ) if(X11_FOUND) - target_link_libraries(monero-wallet-gui ${X11_LIBRARIES}) + target_link_libraries(monzero-wallet-gui ${X11_LIBRARIES}) endif() if(WITH_SCANNER) - target_link_libraries(monero-wallet-gui qrscanner) + target_link_libraries(monzero-wallet-gui qrscanner) if(LINUX AND NOT ANDROID) - target_link_libraries(monero-wallet-gui + target_link_libraries(monzero-wallet-gui jpeg v4l2 v4lconvert @@ -154,10 +154,10 @@ if(WITH_SCANNER) endif() endif() -add_custom_command(TARGET monero-wallet-gui POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:daemon> $<TARGET_FILE_DIR:monero-wallet-gui>) +add_custom_command(TARGET monzero-wallet-gui POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:daemon> $<TARGET_FILE_DIR:monzero-wallet-gui>) include(Deploy) -install(TARGETS monero-wallet-gui +install(TARGETS monzero-wallet-gui DESTINATION bin ) |
