Merge pull request #2699 from ZuBsPaCe/visual-studio-2015-compilation
Visual studio 2015 compilation
This commit is contained in:
commit
33aa019e4f
@ -318,8 +318,8 @@ static unsigned int _strlen31(const char *str)
|
||||
# undef isupper
|
||||
# undef isxdigit
|
||||
# endif
|
||||
# if defined(_MSC_VER) && !defined(_DLL) && defined(stdin)
|
||||
# if _MSC_VER>=1300
|
||||
# if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(_DLL) && defined(stdin)
|
||||
# if _MSC_VER>=1300 && _MSC_VER<1600
|
||||
# undef stdin
|
||||
# undef stdout
|
||||
# undef stderr
|
||||
@ -327,7 +327,7 @@ static unsigned int _strlen31(const char *str)
|
||||
# define stdin (&__iob_func()[0])
|
||||
# define stdout (&__iob_func()[1])
|
||||
# define stderr (&__iob_func()[2])
|
||||
# elif defined(I_CAN_LIVE_WITH_LNK4049)
|
||||
# elif _MSC_VER<1300 && defined(I_CAN_LIVE_WITH_LNK4049)
|
||||
# undef stdin
|
||||
# undef stdout
|
||||
# undef stderr
|
||||
|
@ -203,14 +203,14 @@ def configure(env):
|
||||
env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE'])
|
||||
elif (env["target"]=="debug_release"):
|
||||
|
||||
env.Append(CCFLAGS=['/Zi','/Od'])
|
||||
env.Append(CCFLAGS=['/Z7','/Od'])
|
||||
env.Append(LINKFLAGS=['/DEBUG'])
|
||||
env.Append(LINKFLAGS=['/SUBSYSTEM:WINDOWS'])
|
||||
env.Append(LINKFLAGS=['/ENTRY:mainCRTStartup'])
|
||||
|
||||
elif (env["target"]=="debug"):
|
||||
|
||||
env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od'])
|
||||
env.Append(CCFLAGS=['/Z7','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od'])
|
||||
env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE'])
|
||||
env.Append(LINKFLAGS=['/DEBUG'])
|
||||
|
||||
|
@ -3045,7 +3045,7 @@ Error EditorNode::save_translatable_strings(const String& p_to_file) {
|
||||
OS::Time time = OS::get_singleton()->get_time();
|
||||
f->store_line("# Translation Strings Dump.");
|
||||
f->store_line("# Created By.");
|
||||
f->store_line("# \t"VERSION_FULL_NAME" (c) 2008-2015 Juan Linietsky, Ariel Manzur.");
|
||||
f->store_line("# \t" VERSION_FULL_NAME " (c) 2008-2015 Juan Linietsky, Ariel Manzur.");
|
||||
f->store_line("# From Scene: ");
|
||||
f->store_line("# \t"+get_edited_scene()->get_filename());
|
||||
f->store_line("");
|
||||
|
@ -144,7 +144,7 @@ class NewProjectDialog : public ConfirmationDialog {
|
||||
|
||||
fdialog->set_mode(FileDialog::MODE_OPEN_FILE);
|
||||
fdialog->clear_filters();
|
||||
fdialog->add_filter("engine.cfg ; "_MKSTR(VERSION_NAME)" Project");
|
||||
fdialog->add_filter("engine.cfg ; " _MKSTR(VERSION_NAME) " Project");
|
||||
} else {
|
||||
fdialog->set_mode(FileDialog::MODE_OPEN_DIR);
|
||||
}
|
||||
@ -846,7 +846,7 @@ ProjectManager::ProjectManager() {
|
||||
l->set_align(Label::ALIGN_CENTER);
|
||||
vb->add_child(l);
|
||||
l = memnew( Label );
|
||||
l->set_text("v"VERSION_MKSTRING);
|
||||
l->set_text("v" VERSION_MKSTRING);
|
||||
//l->add_font_override("font",get_font("bold","Fonts"));
|
||||
l->set_align(Label::ALIGN_CENTER);
|
||||
vb->add_child(l);
|
||||
|
Loading…
Reference in New Issue
Block a user