Changeset 28
- Timestamp:
- Jun 11, 2009, 10:11:16 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
configure.cmd (modified) (3 diffs)
-
qmake/project.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.cmd
r26 r28 652 652 /* mkspecs/default is used as a (gasp!) default mkspec so QMAKESPEC needn't 653 653 * be set once configured */ 654 /* 655 @todo 656 */ 654 call DeleteDir G.RelPath"\mkspecs\default" 655 call CopyDir G.RelPath"\mkspecs\"G.PLATFORM, G.RelPath"\mkspecs\default" 656 /* fix qmake.conf by appending the location of the original to it; this is 657 * used by qmake/project.cpp to determine the original QMAKESPEC */ 658 call charout G.RelPath"\mkspecs\default\qmake.conf",, 659 G.EOL"QMAKESPEC_ORIGINAL="G.RelPath"\mkspecs\"G.PLATFORM||G.EOL 660 call charout G.RelPath"\mkspecs\default\qmake.conf" 657 661 658 662 /* create temporary qconfig.h for compiling qmake, if it doesn't exist … … 697 701 call Done 2 698 702 703 699 704 signal Nonsense 700 705 return … … 785 790 MakeDir: procedure expose (Globals) 786 791 /* @todo teach it to create all non-existing intermediate dirs */ 787 parse arg path788 rc = SysMkDir( path)792 parse arg 793 rc = SysMkDir() 789 794 if (rc \= 0) then do 790 call SayErr 'FATAL: Could not create directory ''' path'''!'795 call SayErr 'FATAL: Could not create directory ''''''!' 791 796 call SayErr 'SysMkDir returned 'rc 792 797 call Done 1 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 793 842 end 794 843 return -
trunk/qmake/project.cpp
r27 r28 1668 1668 : vars["QMAKESPEC_ORIGINAL"]); 1669 1669 if (!spec_org.isEmpty()) { 1670 spec = spec_org.at(0); 1671 int lastSlash = spec.lastIndexOf('/'); 1672 if(lastSlash != -1) 1673 spec = spec.mid(lastSlash + 1); 1670 spec = QFileInfo(spec_org.at(0)).fileName(); 1674 1671 if((regex && re.exactMatch(spec)) || (!regex && spec == x)) 1675 1672 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
