* ChangeLog
* include/harbour.hbx
* src/rtl/Makefile
+ src/rtl/libname.prg
+ tests/libname.prg
+ Added HB_LIBNAME( <cDynLibName>[, <cDynLibDir> ] ) -> <cOSDynLibName>
Serves to convert a raw dynlib name, f.e. "hbct" to OS specific
notation, by adding platform specific extension, lib name prefix and
optional directory
* utils/hbmk2/hbmk2.prg
! Fixed dynlib prefix for symbian
30 lines
575 B
Plaintext
30 lines
575 B
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/*
|
|
* Harbour Project source code:
|
|
*
|
|
* Copyright 2010 Viktor Szakats (harbour.01 syenar.hu)
|
|
* www - http://harbour-project.org
|
|
*
|
|
*/
|
|
|
|
#include "simpleio.ch"
|
|
|
|
PROCEDURE Main()
|
|
|
|
? hb_LibName( NIL )
|
|
? hb_LibName( "" )
|
|
? hb_LibName( "name" )
|
|
? hb_LibName( "name.ext" )
|
|
? hb_LibName( "name." )
|
|
? hb_LibName( "name.ext", NIL )
|
|
? hb_LibName( "dir\name.ext", NIL )
|
|
? hb_LibName( "name.ext", "mydir" )
|
|
? hb_LibName( "dir\name.ext", "mydir" )
|
|
? hb_LibName( "name.ext", "mydir\" )
|
|
? hb_LibName( "dir\name.ext", "mydir\" )
|
|
|
|
RETURN
|