Added windows icon file.

This commit is contained in:
Jim Evins
2017-02-25 19:04:51 -05:00
parent 030f9eb5e0
commit cc83e6e433
4 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -39,9 +39,9 @@ find_package(ZLIB 1.2 REQUIRED)
#=======================================
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_definitions (-std=c++11 -g)
add_compile_options (-std=c++11 -g)
if (NOT WIN32)
add_definitions (-fPIC)
add_compile_options (-fPIC)
endif ()
+7
View File
@@ -153,11 +153,18 @@ qt5_wrap_cpp (glabels_moc_sources ${glabels_qobject_headers})
qt5_wrap_ui (glabels_forms_headers ${glabels_forms})
qt5_add_resources (glabels_qrc_sources ${glabels_resource_files})
if (WIN32)
# Windows resource file
set (glabels_win_rc glabels.rc)
endif ()
add_executable (glabels-qt
${glabels_sources}
${glabels_moc_sources}
${glabels_qrc_sources}
${glabels_forms_headers}
${glabels_win_rc}
)
target_link_libraries (glabels-qt
+1
View File
@@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "windows-icon/glabels.ico"
Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB