diff --git a/retroshare-nogui/src/resources/retroshare_win.rc b/retroshare-nogui/src/resources/retroshare_win.rc new file mode 100644 index 000000000..33584d9ad --- /dev/null +++ b/retroshare-nogui/src/resources/retroshare_win.rc @@ -0,0 +1,3 @@ +#include "retroshare_win.rc.h" + +IDI_ICON1 ICON "resources/rs.ico" diff --git a/retroshare-nogui/src/resources/retroshare_win.rc.h b/retroshare-nogui/src/resources/retroshare_win.rc.h new file mode 100644 index 000000000..c2cfcae27 --- /dev/null +++ b/retroshare-nogui/src/resources/retroshare_win.rc.h @@ -0,0 +1,24 @@ +/**************************************************************** + * RetroShare is distributed under the following license: + * + * Copyright (C) 20010, RetroShare Team + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + ****************************************************************/ + + +#define IDI_ICON1 101 + diff --git a/retroshare-nogui/src/resources/rs.ico b/retroshare-nogui/src/resources/rs.ico new file mode 100644 index 000000000..04898b69b Binary files /dev/null and b/retroshare-nogui/src/resources/rs.ico differ diff --git a/retroshare-nogui/src/retroshare-nogui.pro b/retroshare-nogui/src/retroshare-nogui.pro index 36c76aa94..189978cba 100644 --- a/retroshare-nogui/src/retroshare-nogui.pro +++ b/retroshare-nogui/src/retroshare-nogui.pro @@ -46,7 +46,7 @@ win32-x-g++ { #################################### Windows ##################################### win32 { - CONFIG += console + CONFIG += console release OBJECTS_DIR = temp/obj RCC_DIR = temp/qrc UI_DIR = temp/ui @@ -58,6 +58,8 @@ win32 { LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32 LIBS += -lole32 -lwinmm + RC_FILE = resources/retroshare_win.rc + DEFINES *= WINDOWS_SYS }