2010-05-25 21:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* utils/hbmk2/examples/plug_moc.prg
    ! Fixed to cover header file supplied with path like 
        -pe=somefolder/someheader.h.
This commit is contained in:
Pritpal Bedi
2010-05-26 04:41:10 +00:00
parent 6c0605140a
commit e17fbe04f8
2 changed files with 10 additions and 2 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-05-25 21:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* utils/hbmk2/examples/plug_moc.prg
! Fixed to cover header file supplied with path like
-pe=somefolder/someheader.h.
2010-05-26 02:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/plug_moc.prg
! Copy/paste typo in moc detection on some linux platforms.

View File

@@ -21,7 +21,7 @@ FUNCTION hbmk2_plugin_moc( hbmk2 )
LOCAL cCommand
LOCAL cDst
LOCAL nError
LOCAL tmp, tmp1, tmp2
LOCAL tmp, tmp1, tmp2, tmp3
LOCAL lBuildIt
@@ -79,7 +79,9 @@ FUNCTION hbmk2_plugin_moc( hbmk2 )
FOR EACH tmp IN aMOC
cDst := hbmk2_FNameDirExtSet( "moc_" + tmp, hbmk2[ "cWorkDir" ], ".cpp" )
hb_fNameSplit( tmp, , @tmp3 )
cDst := hbmk2_FNameDirExtSet( "moc_" + tmp3, hbmk2[ "cWorkDir" ], ".cpp" )
IF hbmk2[ "lINC" ] .AND. ! hbmk2[ "lREBUILD" ]
lBuildIt := ! hb_FGetDateTime( cDst, @tmp2 ) .OR. ;