diff --git a/ApplicationCode/CMakeLists.txt b/ApplicationCode/CMakeLists.txt index ba0d50800c..13d19b1a95 100644 --- a/ApplicationCode/CMakeLists.txt +++ b/ApplicationCode/CMakeLists.txt @@ -148,6 +148,10 @@ set( QRC_FILES # Runs RCC on specified files qt4_add_resources( QRC_FILES_CPP ${QRC_FILES} ) +# Adding resource (RC) files for Windows +if ( MSVC ) + set( WIN_RESOURCE Resources/ResInsight.rc ) +endif() ############################################################################# # creating PCH's for MSVC and GCC on Linux @@ -208,6 +212,7 @@ add_executable(ResInsight ${MOC_FILES_CPP} ${FORM_FILES_CPP} ${QRC_FILES_CPP} + ${WIN_RESOURCE} ${HEADER_FILES} ) diff --git a/ApplicationCode/Resources/AppLogo48x48.ico b/ApplicationCode/Resources/AppLogo48x48.ico new file mode 100644 index 0000000000..70cbfee6f9 Binary files /dev/null and b/ApplicationCode/Resources/AppLogo48x48.ico differ diff --git a/ApplicationCode/Resources/ResInsight.rc b/ApplicationCode/Resources/ResInsight.rc new file mode 100644 index 0000000000..c39e833bbb --- /dev/null +++ b/ApplicationCode/Resources/ResInsight.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON "AppLogo48x48.ico"