1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00
Commit graph

2357 commits

Author SHA1 Message Date
Matthew Kilgore 6adac0842e Remove unnecessary else logic from Makefile 2022-05-16 00:16:18 -04:00
Matthew Kilgore bac798bc17 Remove quotes 2022-05-16 00:16:02 -04:00
Matthew Kilgore 774a391969 Silence clean when running setup_win.bat 2022-05-15 17:47:58 -04:00
Matthew Kilgore 790129dcef Skip the symbol stripping on OSX
The `objcopy` logic to produce a symbol file doesn't work on OSX, and it
seems it needs different lgoic to produce debug information, so for now
we're just going to skip it.
2022-05-15 17:13:10 -04:00
Matthew Kilgore b5ea3a081d Fix BUILD_QB64=y usage on Windows
BUILD_QB64=y sets the default EXE name to 'qb64', which is actually
wrong on Windows because it does not include the `.exe` extention. It
also works anyway but `objcopy` doesn't recognize the file without the
extension present.
2022-05-15 17:12:17 -04:00
Matthew Kilgore b110e816c7 Add error handling to setup_win.bat 2022-05-15 16:56:37 -04:00
github-actions[bot] 4ad1816507 Automatic update of ./internal/source 2022-05-15 20:28:21 +00:00
Matt Kilgore 24ab11fa84
Merge pull request #56 from mkilgore/fix-windows-build
Fix quoting in Windows-specific files in ./internal/source
2022-05-15 16:17:48 -04:00
Matthew Kilgore 8c0fc1b3d2 Fix quoting in Windows-specific files
This issue was fixed in 4d61ff79, but due to how ./internal/source is
updated the new ./internal/source files were compiled using a QB64
without the fix, producing files with the wrong quoting. Previously this
was worked around because the build process overwrote these files, but
the `Makefile` build requires them to be fixed.

./internal/source itself is fine, so it's easy enough to simply fix the
files by hand. Since ./internal/source now contains a compiled QB64 that
contains the fix from 4d61ff79 it's generated files will have proper
quoting and won't need to be manually updated.
2022-05-14 17:09:02 -04:00
github-actions[bot] c3cd310f72 Automatic update of ./internal/source 2022-05-14 20:59:49 +00:00
Matt Kilgore 6bc35d302f
Merge pull request #51 from mkilgore/add-make-build-system
Replace existing build system with make
2022-05-14 16:48:11 -04:00
Matthew Kilgore e097a1942a Remvoe unnecessary cd 2022-05-14 15:34:39 -04:00
Matthew Kilgore e191abfdad Update ./internal/source when building on Windows
On Windows we don't distribute the ./setup_win.bat, so the contents of
./internal/source are not actually relevant for them. Since the QB64
symbol file will be located in it though, it is important that they get
an updated copy. It does also just make basic sense that if we're
distributing an ./internal/source with the Windows version it should
match whatever QB64 it was shipped with.
2022-05-14 15:07:20 -04:00
Matthew Kilgore f399406f8f Produce a symbol file along with the executable
The symbol file is a file that aids in debugging by allowing a crash
dump from a stripped executable to have it's symbols applied to it. The
file itself ends up in ./internal/temp after compilation and is called
`EXEFILE.sym`.

FIxes: #53
2022-05-14 15:06:56 -04:00
Matthew Kilgore 73c1c7245d Turn off optimization for now
We'll turn this on later when we have it better sorted out.
2022-05-14 12:15:35 -04:00
Matthew Kilgore 7a5ca0c49c Cleanup unused Makefile stuff 2022-05-14 12:13:00 -04:00
Matthew Kilgore 75e96dba8d Fix quoting in ./internal/source/ files 2022-05-12 00:54:24 -04:00
Matthew Kilgore 4d61ff7995 Fix quoting on Windows Resource files 2022-05-12 00:53:24 -04:00
Matthew Kilgore 336a7c3085 Build QB64 with icon 2022-05-12 00:34:48 -04:00
Matthew Kilgore fd6a201046 Require OS to be set when using the Makefile 2022-05-12 00:21:02 -04:00
Matthew Kilgore 9b2ea9e1f8 Test that ./internal/temp is empty 2022-05-12 00:21:02 -04:00
Matthew Kilgore 317a216c71 Fix make-dist.sh 2022-05-12 00:21:02 -04:00
Matthew Kilgore 794f76a534 Provide CFLAGS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 10d12eddb8 Reorganize, add CFLAGS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 11ec9237a3 Add support for mylib$ and mylibopt$ 2022-05-12 00:21:02 -04:00
Matthew Kilgore f1d9063980 Add support for CXXFLAGS_EXTRA and CXXLIBS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 8f337a7333 Run make clean before creating distribution 2022-05-12 00:21:02 -04:00
Matthew Kilgore cf7cb21258 Remove unnecessary build and clean steps 2022-05-12 00:21:02 -04:00
Matthew Kilgore bc7df798c3 make clean should clear ./internal/temp 2022-05-12 00:21:02 -04:00
Matthew Kilgore ec484f5b1e Add make to Linux dependency list 2022-05-12 00:21:02 -04:00
Matthew Kilgore cf807de366 Add test of DATA linking 2022-05-12 00:21:02 -04:00
Matthew Kilgore 60cb0c6f82 Clear ./internal/temp between each test 2022-05-12 00:21:02 -04:00
Matthew Kilgore 867dddb1b4 Only copy compilelog files if they exist 2022-05-12 00:21:02 -04:00
Matthew Kilgore 5c4dcdc8aa Use dlfcn.h on OSX 2022-05-12 00:21:02 -04:00
Matthew Kilgore 64d32616ea Audio tests cannot be run on Linux
The GitHub runners do not have any sound cards available. We could
potentially install a dummy one but that's a bit too much work right
now.
2022-05-12 00:21:02 -04:00
Matthew Kilgore 23ef0aeca8 Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
Matthew Kilgore d18fc78fcd Formatting 2022-05-12 00:21:02 -04:00
Matthew Kilgore 2a4b637412 Separate _ICON usage from icon.rc
The Makefile was incorrectly tying together _ICON and icon.rc, making it
impossible to use one without the other. To fix this we introduce a new
DEP_ICON_RC flag, which indicates we need to use the icon.rc file (in
addition to regular icon support). DEP_ICON now only indicates we need
to support _ICON, and does not attempt to build the resource
information.
2022-05-12 00:21:02 -04:00
Matthew Kilgore 0fa4fc15ea Fix test 2022-05-12 00:21:02 -04:00
Matthew Kilgore b413028619 Retore errocompilelog, put exes in separate directory
The purpose of moving the EXEs is so that they are not captured in the
build artifacts. They would be nice to have, but they end up being a few
hundred MBs in size so much too large to bother saving.
2022-05-12 00:21:02 -04:00
Matthew Kilgore cfb86d2c8f Stop running windres from qb64.bas
Makefile does this
2022-05-12 00:21:02 -04:00
Matthew Kilgore 31783d9ec2 Copy Makefile to distribution 2022-05-12 00:21:02 -04:00
Matthew Kilgore f2c26ac253 Build CI using make 2022-05-12 00:21:02 -04:00
Matthew Kilgore dedda94a78 Capture compilation error log in tests 2022-05-12 00:21:02 -04:00
Matthew Kilgore f8aeb88f97 Change setup scripts to use make 2022-05-12 00:21:02 -04:00
Matthew Kilgore 30c620cfda Initial qb64.bas changes 2022-05-12 00:21:02 -04:00
Matthew Kilgore c1639b3979 Add basic make build system 2022-05-12 00:21:02 -04:00
github-actions[bot] 7c324a6aec Automatic update of ./internal/source 2022-05-08 00:30:36 +00:00
Matt Kilgore f2b76392df
Merge pull request #42 from mkilgore/use-exeicon-versioninfo
Use $EXEICON and $VERSIONINFO in qb64.bas, replacing the existing icon.rc file
2022-05-07 20:18:05 -04:00
Matthew Kilgore be814036ec Temporarally add build steps back 2022-05-07 19:57:38 -04:00