Mercurial > hg > truffle
comparison src/share/tools/ProjectCreator/WinGammaPlatform.java @ 2393:74e790c48cd4
7031571: Generate native VS2010 project files
Reviewed-by: hosterda, stefank, brutisso
author | sla |
---|---|
date | Mon, 28 Mar 2011 12:48:08 +0200 |
parents | 15d6977f04b0 |
children | 76841bdd5f3e 1a9b9cfcef41 |
comparison
equal
deleted
inserted
replaced
2388:006b3750a4d4 | 2393:74e790c48cd4 |
---|---|
585 | 585 |
586 Vector createAllConfigs(String platform) { | 586 Vector createAllConfigs(String platform) { |
587 Vector allConfigs = new Vector(); | 587 Vector allConfigs = new Vector(); |
588 | 588 |
589 allConfigs.add(new C1DebugConfig()); | 589 allConfigs.add(new C1DebugConfig()); |
590 | |
591 allConfigs.add(new C1FastDebugConfig()); | 590 allConfigs.add(new C1FastDebugConfig()); |
592 allConfigs.add(new C1ProductConfig()); | 591 allConfigs.add(new C1ProductConfig()); |
593 | 592 |
594 allConfigs.add(new C2DebugConfig()); | 593 allConfigs.add(new C2DebugConfig()); |
595 allConfigs.add(new C2FastDebugConfig()); | 594 allConfigs.add(new C2FastDebugConfig()); |
652 return full.compareTo(oo.full); | 651 return full.compareTo(oo.full); |
653 } | 652 } |
654 | 653 |
655 boolean isHeader() { | 654 boolean isHeader() { |
656 return attr.shortName.endsWith(".h") || attr.shortName.endsWith(".hpp"); | 655 return attr.shortName.endsWith(".h") || attr.shortName.endsWith(".hpp"); |
656 } | |
657 | |
658 boolean isCpp() { | |
659 return attr.shortName.endsWith(".cpp"); | |
657 } | 660 } |
658 } | 661 } |
659 | 662 |
660 | 663 |
661 TreeSet sortFiles(Hashtable allFiles) { | 664 TreeSet sortFiles(Hashtable allFiles) { |
706 } | 709 } |
707 | 710 |
708 PrintWriter printWriter; | 711 PrintWriter printWriter; |
709 | 712 |
710 public void writeProjectFile(String projectFileName, String projectName, | 713 public void writeProjectFile(String projectFileName, String projectName, |
711 Vector allConfigs) throws IOException { | 714 Vector<BuildConfig> allConfigs) throws IOException { |
712 throw new RuntimeException("use compiler version specific version"); | 715 throw new RuntimeException("use compiler version specific version"); |
713 } | 716 } |
714 } | 717 } |