qmake/option.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   306                     } else if(opt == "createstub") {
   306                     } else if(opt == "createstub") {
   307                         Option::mkfile::do_stub_makefile = true;
   307                         Option::mkfile::do_stub_makefile = true;
   308                     } else if(opt == "nodependheuristics") {
   308                     } else if(opt == "nodependheuristics") {
   309                         Option::mkfile::do_dep_heuristics = false;
   309                         Option::mkfile::do_dep_heuristics = false;
   310                     } else if(opt == "E") {
   310                     } else if(opt == "E") {
       
   311                         fprintf(stderr, "-E is deprecated. Use -d instead.\n");
   311                         Option::mkfile::do_preprocess = true;
   312                         Option::mkfile::do_preprocess = true;
   312                     } else if(opt == "cache") {
   313                     } else if(opt == "cache") {
   313                         Option::mkfile::cachefile = argv[++x];
   314                         Option::mkfile::cachefile = argv[++x];
   314                     } else if(opt == "platform" || opt == "spec") {
   315                     } else if(opt == "platform" || opt == "spec") {
   315                         Option::mkfile::qmakespec = argv[++x];
   316                         Option::mkfile::qmakespec = argv[++x];
   560        Option::obj_ext = ".obj";
   561        Option::obj_ext = ".obj";
   561    } else {
   562    } else {
   562        Option::dir_sep = "/";
   563        Option::dir_sep = "/";
   563        Option::obj_ext = ".o";
   564        Option::obj_ext = ".o";
   564    }
   565    }
   565    Option::qmake_abslocation = Option::fixPathToTargetOS(Option::qmake_abslocation);
       
   566 }
   566 }
   567 
   567 
   568 bool Option::postProcessProject(QMakeProject *project)
   568 bool Option::postProcessProject(QMakeProject *project)
   569 {
   569 {
   570     Option::cpp_ext = project->variables()["QMAKE_EXT_CPP"];
   570     Option::cpp_ext = project->variables()["QMAKE_EXT_CPP"];