diff --git a/CMakeLists.txt b/CMakeLists.txt index 3279d5276..08338b74c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -679,11 +679,7 @@ if(CLIENT) ) if(TARGET_OS STREQUAL "windows") - if(MSVC) - set(CLIENT_ICON "other/icons/DDNet_cl.rc") - else() - set(CLIENT_ICON "other/icons/DDNet_gcc.rc") - endif() + set(CLIENT_ICON "other/icons/DDNet.rc") else() set(CLIENT_ICON) endif() @@ -786,11 +782,7 @@ set(GAME_GENERATED_SERVER ) set(SERVER_SRC ${ENGINE_SERVER} ${GAME_SERVER} ${GAME_GENERATED_SERVER}) if(TARGET_OS STREQUAL "windows") - if(MSVC) - set(CLIENT_ICON "other/icons/DDNet-Server_cl.rc") - else() - set(CLIENT_ICON "other/icons/DDNet-Server_gcc.rc") - endif() + set(SERVER_ICON "other/icons/DDNet-Server.rc") else() set(SERVER_ICON) endif() diff --git a/bam.lua b/bam.lua index 8f60c1560..64c0bdcb1 100644 --- a/bam.lua +++ b/bam.lua @@ -162,13 +162,8 @@ if family == "windows" then table.insert(server_sql_depends, CopyToDirectory(".", "ddnet-libs/mysql/windows/mysqlcppconn.dll")) table.insert(server_sql_depends, CopyToDirectory(".", "ddnet-libs/mysql/windows/libmysql.dll")) - if config.compiler.driver == "cl" then - client_link_other = {ResCompile("other/icons/DDNet_cl.rc")} - server_link_other = {ResCompile("other/icons/DDNet-Server_cl.rc")} - elseif config.compiler.driver == "gcc" then - client_link_other = {ResCompile("other/icons/DDNet_gcc.rc")} - server_link_other = {ResCompile("other/icons/DDNet-Server_gcc.rc")} - end + client_link_other = {ResCompile("other/icons/DDNet.rc")} + server_link_other = {ResCompile("other/icons/DDNet-Server.rc")} end function Intermediate_Output(settings, input) diff --git a/other/icons/DDNet-Server_gcc.rc b/other/icons/DDNet-Server.rc similarity index 100% rename from other/icons/DDNet-Server_gcc.rc rename to other/icons/DDNet-Server.rc diff --git a/other/icons/DDNet-Server_cl.rc b/other/icons/DDNet-Server_cl.rc deleted file mode 100644 index 5be9af55b..000000000 --- a/other/icons/DDNet-Server_cl.rc +++ /dev/null @@ -1 +0,0 @@ -50h ICON "DDNet-Server.ico" diff --git a/other/icons/DDNet.exe.manifest b/other/icons/DDNet.exe.manifest deleted file mode 100644 index 846f0ee8d..000000000 --- a/other/icons/DDNet.exe.manifest +++ /dev/null @@ -1,7 +0,0 @@ - - - - true/PM - - - diff --git a/other/icons/DDNet.rc b/other/icons/DDNet.rc new file mode 100644 index 000000000..072c60a69 --- /dev/null +++ b/other/icons/DDNet.rc @@ -0,0 +1 @@ +ID ICON "DDNet.ico" diff --git a/other/icons/DDNet_cl.rc b/other/icons/DDNet_cl.rc deleted file mode 100644 index 178cb62fd..000000000 --- a/other/icons/DDNet_cl.rc +++ /dev/null @@ -1 +0,0 @@ -50h ICON "DDNet.ico" diff --git a/other/icons/DDNet_gcc.rc b/other/icons/DDNet_gcc.rc deleted file mode 100644 index 176d2693e..000000000 --- a/other/icons/DDNet_gcc.rc +++ /dev/null @@ -1,2 +0,0 @@ -ID ICON "DDNet.ico" -1 24 "DDNet.exe.manifest"