pmake icon indicating copy to clipboard operation
pmake copied to clipboard

Check compilation of libraries

Open daar opened this issue 6 years ago • 4 comments

Check if pmake is capable of building libraries. Add an example to the repository.

daar avatar Mar 22 '18 11:03 daar

pmake --quickstart fails with

... generating build information
... parse subdirectory calls
An unhandled exception occurred at $00414983:
EStringListError: List index (-1) out of bounds
  $00414983
  $0042A877
  $00401D00

daar avatar Mar 14 '19 07:03 daar

On compiling the dynamic library is created, but without filename extension.

daar avatar Mar 14 '19 07:03 daar

Example added in commit f222dcc

daar avatar Mar 14 '19 07:03 daar

By using the $(DLL) macro the file extension issue is fixed.

add_executable('subs', 'subs$(DLL)', 'subs.pp', []);

daar avatar Mar 14 '19 21:03 daar