Skip to content

Commit

Permalink
add ability to set Free Pascal compiler binary path in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed Sep 1, 2021
1 parent d063f63 commit 1bc8f3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ IF NOT EXIST build.prod.cfg (copy build.prod.cfg.sample build.prod.cfg)
IF NOT DEFINED BUILD_TYPE (SET BUILD_TYPE=prod)
IF NOT DEFINED UNIT_OUTPUT_DIR (SET UNIT_OUTPUT_DIR=bin\unit)
IF NOT DEFINED EXEC_OUTPUT_DIR (SET EXEC_OUTPUT_DIR=bin\out)
IF NOT DEFINED FPC_BIN (SET FPC_BIN=fpc)

fpc @unit.search.cfg @build.cfg src/fanocli.pas
%FPC_BIN% @unit.search.cfg @build.cfg src/fanocli.pas

0 comments on commit 1bc8f3b

Please sign in to comment.