@@ -50,7 +50,7 @@ include_directories(${FFTW3_INCLUDE_DIR})
5050include_directories (${USB1_INCLUDE_DIR} )
5151
5252if (ANDROID )
53- add_library (ahp- xc-gui SHARED
53+ add_library (xc-gui SHARED
5454 ${CMAKE_CURRENT_SOURCE_DIR} /main.cpp
5555 ${CMAKE_CURRENT_SOURCE_DIR} /mainwindow.cpp
5656 ${CMAKE_CURRENT_SOURCE_DIR} /mainwindow.h
@@ -71,7 +71,7 @@ if(ANDROID)
7171 ${CMAKE_CURRENT_SOURCE_DIR} /threads.h
7272 )
7373else (ANDROID )
74- add_executable (ahp- xc-gui
74+ add_executable (xc-gui
7575 ${CMAKE_CURRENT_SOURCE_DIR} /main.cpp
7676 ${CMAKE_CURRENT_SOURCE_DIR} /mainwindow.cpp
7777 ${CMAKE_CURRENT_SOURCE_DIR} /mainwindow.h
@@ -94,11 +94,11 @@ else(ANDROID)
9494 ${CMAKE_CURRENT_SOURCE_DIR} /app.rc
9595 )
9696 if (WIN32 )
97- target_link_libraries (ahp- xc-gui PRIVATE comctl32 )
97+ target_link_libraries (xc-gui PRIVATE comctl32 )
9898 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--subsystem,windows" )
9999 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--subsystem,windows" )
100100 set (CMAKE_LD_FLAGS "${CMAKE_LD_FLAGS} -Wl,--subsystem,windows -static-libstdc++ -static-libgcc" )
101- set_target_properties (ahp- xc-gui PROPERTIES WIN32_EXECUTABLE TRUE )
101+ set_target_properties (xc-gui PROPERTIES WIN32_EXECUTABLE TRUE )
102102 endif (WIN32 )
103103endif (ANDROID )
104104
@@ -107,9 +107,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/icon.ico ${CMAKE_CURRENT_BINARY_DIR}/
107107configure_file (${CMAKE_CURRENT_SOURCE_DIR} /config.h.cmake ${CMAKE_CURRENT_BINARY_DIR} /config.h )
108108configure_file (${CMAKE_CURRENT_SOURCE_DIR} /xc-gui.iss.cmake ${CMAKE_CURRENT_BINARY_DIR} /xc-gui.iss )
109109
110- target_link_libraries (ahp- xc-gui PRIVATE ${USB1_LIBRARIES} ${DSP_LIBRARIES} ${VLBI_LIBRARIES} ${AHP_GT_LIBRARIES} ${AHP_XC_LIBRARIES} ${FFTW3_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} Qt5::Widgets Qt5::Charts Qt5::SerialPort Qt5::Network )
111- target_link_libraries (ahp- xc-gui PRIVATE ${URJTAG_LIBRARIES} )
110+ target_link_libraries (xc-gui PRIVATE ${USB1_LIBRARIES} ${DSP_LIBRARIES} ${VLBI_LIBRARIES} ${AHP_GT_LIBRARIES} ${AHP_XC_LIBRARIES} ${FFTW3_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} Qt5::Widgets Qt5::Charts Qt5::SerialPort Qt5::Network )
111+ target_link_libraries (xc-gui PRIVATE ${URJTAG_LIBRARIES} )
112112
113- install (TARGETS ahp- xc-gui RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} /bin)
113+ install (TARGETS xc-gui RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} /bin)
114114install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /ahp-xc-gui.png DESTINATION ${CMAKE_INSTALL_PREFIX} /share/icons)
115115install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /ahp-xc-gui.desktop DESTINATION ${CMAKE_INSTALL_PREFIX} /share/applications)
0 commit comments