1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 15:05:13 +00:00
qb64/internal/c/parts
Galleon 2af8c7399c Implements -g switch to compile with no graphical dependencies
(Can now generate stand-alone executables <1MB)
-g can be specified within code with:
$CONSOLE:ONLY
Note: Programs using this still need to call _DEST _CONSOLE or output will not be visible

Also added dependency rules to remove unrequired static system libs from being linked:
[X] lws2_32 as DEPENDENCY_SOCKETS
	_OPENHOST
	_OPENCLIENT
[X] -lwinspool as DEPENDENCY_PRINTER
	LPRINT
	_PRINTIMAGE
[X] -lwinmm & mmsystem.h
	Required by:
		FreeGlut (GUI)
		Audio Out
[X] -lksguid (From the DirectX SDK, Required for Audio)
	Required by:
		Audio Out
[X] -ldxguid (From the DirectX SDK, Required for Audio)
	Required by:
		Audio Out
[X] -lole32
	Required by:
		Audio Out (dsound.c)
[X] -lgdi32
	Required by:
		void sub__icon(int32 handle_icon, int32 handle_window_icon, int32 passed){
		int32 func__screenimage(int32 x1,int32 y1,int32 x2,int32 y2,int32 passed)
		Printer
Some code has been moved from inside libqb.cpp into subfolder internal\c\libqb

Added dummy config.h file so libsamplerate could compile in Linux (Need to establish when it was removed)
2015-01-06 03:55:55 -08:00
..
audio Implements -g switch to compile with no graphical dependencies 2015-01-06 03:55:55 -08:00
core Change to the STRCMP routine to correct < vs > bug. 2014-09-28 11:27:07 -04:00
input/game_controller Change to the STRCMP routine to correct < vs > bug. 2014-09-28 11:27:07 -04:00
network Change to the STRCMP routine to correct < vs > bug. 2014-09-28 11:27:07 -04:00
user_mods Replacement to stringcomp routine for less OS specific code, which executes faster overall for us anyway. 2014-10-02 04:32:07 -04:00
video Fixes severe bug in TTF usage which caused programs crash intermittently/always due to non-zero initialized memory 2014-10-12 00:45:02 -07:00