mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-03 21:57:48 -04:00
Starting the name change from Q65W to QMAP. Now builds as qmap.exe.
This commit is contained in:
parent
652bfb8429
commit
61c1d8bcc5
@ -38,12 +38,12 @@ add_subdirectory (libq65)
|
|||||||
# UI generation
|
# UI generation
|
||||||
qt5_wrap_ui (q65w_GENUISRCS ${q65w_UISRCS})
|
qt5_wrap_ui (q65w_GENUISRCS ${q65w_UISRCS})
|
||||||
|
|
||||||
add_executable (q65w ${q65w_CXXSRCS} ${q65w_CSRCS} ${q65w_GENUISRCS} q65w.rc)
|
add_executable (qmap ${q65w_CXXSRCS} ${q65w_CSRCS} ${q65w_GENUISRCS} q65w.rc)
|
||||||
target_include_directories (q65w PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS})
|
target_include_directories (qmap PRIVATE ${CMAKE_SOURCE_DIR} ${FFTW3_INCLUDE_DIRS})
|
||||||
target_link_libraries (q65w wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Usb::Usb)
|
target_link_libraries (qmap wsjt_qt m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Usb::Usb)
|
||||||
|
|
||||||
if (WSJT_CREATE_WINMAIN)
|
if (WSJT_CREATE_WINMAIN)
|
||||||
set_target_properties (q65w PROPERTIES WIN32_EXECUTABLE ON)
|
set_target_properties (qmap PROPERTIES WIN32_EXECUTABLE ON)
|
||||||
endif (WSJT_CREATE_WINMAIN)
|
endif (WSJT_CREATE_WINMAIN)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
@ -58,7 +58,7 @@ if (WIN32)
|
|||||||
)
|
)
|
||||||
|
|
||||||
install (
|
install (
|
||||||
TARGETS q65w
|
TARGETS qmap
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
||||||
BUNDLE DESTINATION . COMPONENT runtime
|
BUNDLE DESTINATION . COMPONENT runtime
|
||||||
)
|
)
|
||||||
|
@ -28,8 +28,8 @@ int main(int argc, char *argv[])
|
|||||||
ftninit_();
|
ftninit_();
|
||||||
|
|
||||||
// Override programs executable basename as application name.
|
// Override programs executable basename as application name.
|
||||||
a.setApplicationName ("Q65W");
|
a.setApplicationName ("QMAP");
|
||||||
a.setApplicationVersion ("0.1");
|
a.setApplicationVersion ("0.2");
|
||||||
// switch off as we share an Info.plist file with WSJT-X
|
// switch off as we share an Info.plist file with WSJT-X
|
||||||
a.setAttribute (Qt::AA_DontUseNativeMenuBar);
|
a.setAttribute (Qt::AA_DontUseNativeMenuBar);
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user