From 61c1d8bcc56690a1b3019abebe4383ba633b416a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 24 Jan 2023 15:44:53 -0500 Subject: [PATCH] Starting the name change from Q65W to QMAP. Now builds as qmap.exe. --- q65w/CMakeLists.txt | 10 +++++----- q65w/main.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/q65w/CMakeLists.txt b/q65w/CMakeLists.txt index 4a326e981..b687bb64b 100644 --- a/q65w/CMakeLists.txt +++ b/q65w/CMakeLists.txt @@ -38,12 +38,12 @@ add_subdirectory (libq65) # UI generation qt5_wrap_ui (q65w_GENUISRCS ${q65w_UISRCS}) -add_executable (q65w ${q65w_CXXSRCS} ${q65w_CSRCS} ${q65w_GENUISRCS} q65w.rc) -target_include_directories (q65w PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS}) -target_link_libraries (q65w wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Usb::Usb) +add_executable (qmap ${q65w_CXXSRCS} ${q65w_CSRCS} ${q65w_GENUISRCS} q65w.rc) +target_include_directories (qmap PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS}) +target_link_libraries (qmap wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Usb::Usb) if (WSJT_CREATE_WINMAIN) - set_target_properties (q65w PROPERTIES WIN32_EXECUTABLE ON) + set_target_properties (qmap PROPERTIES WIN32_EXECUTABLE ON) endif (WSJT_CREATE_WINMAIN) if (WIN32) @@ -58,7 +58,7 @@ if (WIN32) ) install ( - TARGETS q65w + TARGETS qmap RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime BUNDLE DESTINATION . COMPONENT runtime ) diff --git a/q65w/main.cpp b/q65w/main.cpp index eac86216d..f3f0880fd 100644 --- a/q65w/main.cpp +++ b/q65w/main.cpp @@ -28,8 +28,8 @@ int main(int argc, char *argv[]) ftninit_(); // Override programs executable basename as application name. - a.setApplicationName ("Q65W"); - a.setApplicationVersion ("0.1"); + a.setApplicationName ("QMAP"); + a.setApplicationVersion ("0.2"); // switch off as we share an Info.plist file with WSJT-X a.setAttribute (Qt::AA_DontUseNativeMenuBar); MainWindow w;