1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-09 23:35:13 +00:00
QB64-PE/source
Matthew Kilgore 77c5e6c39c -x should create executable relative to _StartDir$ when -o is not provided
Starting with #201, source files relative to `_StartDir$` are allowed to
be passed to `-x` and compile as expected. Additionally as part of that
change, when the `-x` parameter is relative to `_StartDir$`, the `-o`
argument is _also_ treated relative to `_StartDir$`. This is simply the
behavior everyone using the compiler would expect - that the source file
and `-o` are relative to the same location.

An overlooked behavior was the executable location when `-o` is not
provided. It still writes to compiler directory, but it really should be
writing to `_Startdir$` since the output executable is intended to be
relative to the same location the source file is relative too. Overall
this is fairly straight forward to fix as the logic is the same, we just
need to make use of it when the `-o` flag is not provided.

Fixes: #257
2022-11-26 21:25:33 -05:00
..
global Wiki download finalized 2022-11-23 22:54:04 +01:00
ide Change to Open File Dialog 2022-11-26 03:06:36 -05:00
subs_functions Add _StatusCode command for HTTP handles 2022-11-20 04:04:02 -05:00
utilities Simplebuffers refactoring 2022-11-04 23:08:42 +01:00
.gitignore Don't ignore .bas files in source directory 2022-04-28 17:20:45 -04:00
peLogo.png Step 10: Update remaining stuff 2022-08-12 02:54:12 +02:00
qb64pe.bas -x should create executable relative to _StartDir$ when -o is not provided 2022-11-26 21:25:33 -05:00
qb64pe.ico Step 4: Update Windows icon & resource file 2022-08-10 02:03:12 +02:00
qb64pe.png Step 2: Update Linux icon file 2022-08-10 00:48:56 +02:00