build: windows icon

IMPORTANT: Windows users will have to execute clean, setup and cmake after this commit.

* added script to generate the program icon on windows.
* modified setup script to execute icon generator.
* modified CMakeLists to automatically generate the resource file required for windows builds and link it to the visual studio project.
This commit is contained in:
malte_langkabel
2015-04-14 14:30:35 +02:00
parent bdbd266a67
commit 4692ca961a
3 changed files with 33 additions and 2 deletions
+3
View File
@@ -48,6 +48,9 @@ if [ $PLATFORM == "Windows" ]; then
echo -e $INFO "copy test_main file"
cp -u setup/cxx_test/windows/test_main.cpp build
echo -e $INFO "creating program icon"
sh script/create_windows_icon.sh
fi
# Setup both Debug and Release configuration