CREATE_PROJECT: Disable the WIN32-define when creating an XCode-project.
This commit is contained in:
parent
7052823969
commit
8af5d6e722
1 changed files with 3 additions and 1 deletions
|
@ -336,7 +336,9 @@ int main(int argc, char *argv[]) {
|
||||||
setup.defines.splice(setup.defines.begin(), featureDefines);
|
setup.defines.splice(setup.defines.begin(), featureDefines);
|
||||||
|
|
||||||
// Windows only has support for the SDL backend, so we hardcode it here (along with winmm)
|
// Windows only has support for the SDL backend, so we hardcode it here (along with winmm)
|
||||||
setup.defines.push_back("WIN32");
|
if (projectType != kProjectXcode) {
|
||||||
|
setup.defines.push_back("WIN32");
|
||||||
|
}
|
||||||
setup.defines.push_back("SDL_BACKEND");
|
setup.defines.push_back("SDL_BACKEND");
|
||||||
if (!useSDL2) {
|
if (!useSDL2) {
|
||||||
cout << "\nLinking to SDL 1.2\n\n";
|
cout << "\nLinking to SDL 1.2\n\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue