File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,21 +140,21 @@ int main(int argc, char **argv)
140140 fout1 << " # no manual edits - this file is autogenerated by dmake\n\n " ;
141141 fout1 << " LIBS += -L../externals -lpcre\n " ;
142142 fout1 << " INCLUDEPATH += ../externals\n " ;
143- fout1 << " HEADERS += $$PWD/ check.h \\\n " ;
143+ fout1 << " HEADERS += $${BASEPATH} check.h \\\n " ;
144144 for (unsigned int i = 0 ; i < libfiles.size (); ++i)
145145 {
146146 std::string fname (libfiles[i].substr (4 ));
147147 if (fname.find (" .cpp" ) == std::string::npos)
148148 continue ; // shouldn't happen
149149 fname.erase (fname.find (" .cpp" ));
150- fout1 << std::string (11 , ' ' ) << " $$PWD/ " << fname << " .h" ;
150+ fout1 << std::string (11 , ' ' ) << " $${BASEPATH} " << fname << " .h" ;
151151 if (i < libfiles.size () - 1 )
152152 fout1 << " \\\n " ;
153153 }
154154 fout1 << " \n\n SOURCES += " ;
155155 for (unsigned int i = 0 ; i < libfiles.size (); ++i)
156156 {
157- fout1 << " $$PWD/ " << libfiles[i].substr (4 );
157+ fout1 << " $${BASEPATH} " << libfiles[i].substr (4 );
158158 if (i < libfiles.size () - 1 )
159159 fout1 << " \\\n " << std::string (11 , ' ' );
160160 }
You can’t perform that action at this time.
0 commit comments