Home » U++ Library support » U++ Library : Other (not classified elsewhere) » umk got changed....
Re: umk got changed.... [message #37565 is a reply to message #35019] |
Thu, 18 October 2012 23:19   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi all..
just tonight i started trying umk for myself. can't believe i've been away for so long 
i use a setup, where all my ide config lies in V:\upprun, then there is U:\uppsvn and V:\uppgit for known reasons.. to keep the code separated from the runtime stuff..
so i copied tie umk.exe in V:\upprun and started with
umk examples_git Bombs MSC9 -b +GUI,SHARED bombs.exe
it did some things, but stopped eventually stopped at the same Invalid build method message, because it could not find my MSC9.bm, lying in the same folder.
so i debugged a bit: why not simply ading the current umk.exe to the search path..that worked for me and i think would do for many..
@@ -6,11 +6,12 @@ String GetUmkFile(const char *fn)
{
return GetFileOnPath(fn,
GetHomeDirFile(".upp/umk") + ';' +
GetHomeDirFile(".upp/theide") + ';' +
GetHomeDirFile(".upp/ide") + ';' +
- GetHomeDirectory());
+ GetHomeDirectory() + ';' +
+ GetFileFolder(GetExeFilePath()));
}
String GetBuildMethodPath(String method)
{
if(GetFileExt(method) != ".bm")
what do you say
|
|
|
Goto Forum:
Current Time: Fri Jul 18 03:42:55 CEST 2025
Total time taken to generate the page: 0.03082 seconds
|