Skip to content
Snippets Groups Projects
Commit f09aaaea authored by dg's avatar dg
Browse files

fix windows build

git-svn-id: http://svn.net-core.org/repos/t-engine4@2998 51575b47-30f0-44d4-a5cc-537603b46e54
parent b280649c
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ project "TEngineRunner"
configuration "windows"
links { "mingw32", "SDLmain", "SDL", "SDL_ttf", "SDL_image", "SDL_mixer", "OPENGL32", "GLU32", "wsock32" }
defines { [[TENGINE_HOME_PATH='"T-Engine"']], 'SELFEXE_WINDOWS' }
prebuildcommands { "windres ../src/windows/icon.rc -O coff -o ../src/windows/icon.res" }
linkoptions { "../src/windows/icon.res" }
configuration "macosx"
defines { [[TENGINE_HOME_PATH='".t-engine"']], "USE_TENGINE_MAIN", 'SELFEXE_MACOSX' }
linkoptions { "-framework SDL", "-framework SDL_image", "-framework SDL_ttf", "-framework SDL_mixer", "-framework Cocoa", "-framework OpenGL" }
......
......@@ -43,19 +43,17 @@ configuration "macosx"
configuration "windows"
linkoptions { "-mwindows" }
links { "mingw32" }
links { "mingw32", "SDLmain", "SDL", "SDL_ttf", "SDL_image", "SDL_mixer", "OPENGL32", "GLU32", "wsock32" }
defines { [[TENGINE_HOME_PATH='"T-Engine"']], 'SELFEXE_WINDOWS' }
prebuildcommands { "windres src/windows/icon.rc -O coff -o src/windows/icon.res" }
linkoptions { "src/windows/icon.res" }
configuration "linux"
buildoptions { "-fPIC" }
defines { [[TENGINE_HOME_PATH='".t-engine"']], 'SELFEXE_LINUX' }
configuration {"linux", "Debug"}
configuration {"Debug"}
postbuildcommands { "cp ../bin/Debug/"..corename.."* ../game/engines/cores/", }
configuration {"linux", "Release"}
configuration {"Release"}
postbuildcommands { "cp ../bin/Release/"..corename.."* ../game/engines/cores/", }
......
tomeicon ICON "game/engines/default/data/gfx/te4-icon.ico"
tomeicon ICON "../game/engines/default/data/gfx/te4-icon.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment