This is a very basic question which will tell you of my competency: Why does "..\build" only work in my "MySourceCode" subdirectory? How can I get the compiler to work in other folders so I can keep my test projects separate?
Alan
Compiling
Moderator: Rathinagiri
- serge_girard
- Posts: 3166
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Compiling
Alan,
Use the HMG IDE (drive:\HMG.3.4.4\IDE\IDE.EXE) to compile and then no worries about build!
Serge
Use the HMG IDE (drive:\HMG.3.4.4\IDE\IDE.EXE) to compile and then no worries about build!
Serge
There's nothing you can do that can't be done...
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Compiling
Or add your hmg directory in PATH (...;c:\hmg.3.4.4 )
Or search on forum topic with utility SET_HMGPATH and do it
Or search on forum topic with utility SET_HMGPATH and do it
- mustafa
- Posts: 1160
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: Compiling
Alan
I am working with this simple BAT inside the folder where
I have the new amplication I put the main file
Example Main.prg and OK
build.3.4.4_64.bat
@ECHO OFF
call c:\hmg.3.4.4_64\build64.bat Main.prg % *
Sorry that no English
Regards
Mustafa
I am working with this simple BAT inside the folder where
I have the new amplication I put the main file
Example Main.prg and OK
build.3.4.4_64.bat
@ECHO OFF
call c:\hmg.3.4.4_64\build64.bat Main.prg % *
Sorry that no English
Regards
Mustafa
Re: Compiling
Thanks Mustafa. I guess I'm still struggling with why we have to use "..\" before the "build" command. Some sort of DOS thing.
Alan
Alan
Re: Compiling
"..\" is used to represent previous directory path short cut, instead you can use c:\hmg.3.4.4_64\build64.bat Main.prg
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
Re: Compiling
Ok that makes sense. Thanks for the lesson. I'm amazed at how much DOS & Clipper I've forgotten!
Alan
Alan
- serge_girard
- Posts: 3166
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact: