Commit Graph

37 Commits

Author SHA1 Message Date
dob205
23b01383e0 Fixing compiling with normal user permissions
This should enable compiling things on macOS without resorting to use sudo before cmake --build build --target install.
2021-11-10 11:13:10 +01:00
dob205
99097d5555 Adjusting the install command
This change should hopefully make the GitHub Actions instance happy for CMake.
2021-11-10 10:40:51 +01:00
dob205
9f78c37f37 Tweaking things to fix potential compile errors
Should hopefully make GitHub Actions happy
2021-11-10 10:26:00 +01:00
dob205
4728483188 Updating the CMakeLists.txt to create macOS app bundles
Changes the CMakeLists.txt to enable the creation of macOS app bundles via cmake --build build --target install including all necessary dylibs for a functioning macOS compile.
2021-11-10 10:01:37 +01:00
Andreas J. Reichel
6dd744141c Make it build in arch linux and Debian
* Probably unresolved external due to newer gcc, thus
  added libsdl to libui.a as well.
* Make it work for all distros, which either have SDL2::SDL2
  or ${SDL2_LIBRARIES}, provided by sdl2-config or FindSDL2.cmake.

Signed-off-by: Andreas J. Reichel <homebase_ar@web.de>
2021-10-18 21:15:31 +02:00
dob205
ce5a1ed054 Fixes for library search on macOS
Fixes the screenshot function on macOS if the user installed libpng via homebrew. Previously it would link to older libraries if those were installed, while at runtime it decided to run the version installed by homebrew.
2021-10-07 10:00:11 +02:00
David Hrdlička
73cac00119 Remove pthreads on Win32 from build files 2021-09-23 23:03:33 +02:00
Cacodemon345
29b0946c7e Link ws2_32 only on Windows 2021-09-20 16:00:03 +06:00
Cacodemon345
80b85cd384 Fix linking with pthreads on Windows 2021-09-18 13:16:39 +06:00
Cacodemon345
68a9e4094f Fix build on Ubuntu 20.04 LTS 2021-09-17 22:26:54 +02:00
David Hrdlička
0e2cf677fb cmake: fix pthread linking, take 2 2021-09-15 13:05:00 +02:00
David Hrdlička
719d155393 cmake: fix pthread linking on Windows 2021-09-15 12:50:33 +02:00
OBattler
206c34ed27 CMakeList.txt now uses libpthread. 2021-09-15 00:01:18 +02:00
OBattler
3c2ac29c68 Switched threads to pthread for all platforms (on Windows, you can compile with Win32 threads using PTHREAD=n). 2021-09-14 21:58:15 +02:00
David Hrdlička
6c26a99841 cmake: full static linking on mingw builds 2021-09-02 15:34:06 +02:00
Cacodemon345
7fe4c63cb3 Enable static linking only on Windows 2021-08-30 00:00:37 +06:00
Cacodemon345
ea641cc0ae Look for OpenAL in the proper way 2021-08-29 23:50:21 +06:00
Cacodemon345
7856884a2b CMake OpenAL include directory variable is without a S 2021-08-29 23:50:21 +06:00
Cacodemon345
f6af2b0162 Fix compile errors and get rid of glib dependency 2021-08-29 23:50:21 +06:00
Cacodemon345
1b93e8e989 Initial Linux/Unix code 2021-08-29 23:50:16 +06:00
David Hrdlička
1ab23d5531 cmake: more fixes 2021-08-29 08:38:42 +02:00
David Hrdlička
44ccefb28a cmake: refactor the architecture detection 2021-08-29 03:55:07 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
Alexander Babikov
abb0e27c02 Suppress GCC false positive warnings in vid_voodoo_codegen_x86[-64].h 2021-06-18 18:27:52 +05:00
Sean Ramey
ce4a97967f Fix Cmake build because of renamed file. 2021-03-25 03:13:33 -05:00
luisjoseromero
c0e7ac3762 Integrated Chrome tracing
Added support for chrome tracing by integrating the
minitrace library (github.com/hrydgard/minitrace),
and modified it with a background flushing thread that allows
tracing to continue automatically after the predefined
1 million event limit.

Menu items and an accelerator (Ctr+T) have also been
added. Starting and stopping the trace simply replaces
trace.json with the new trace data.

The feature is disabled by default. Pass MINITRACE=y
to the build command to enable it. Some traces are
already added as an example, however they won't have
any effect if the feature is disabled.
2021-02-14 17:27:46 +00:00
David Hrdlička
bbfb8a35cd cmake: install PDB files 2021-02-14 00:42:06 +01:00
RichardG867
976e8ca273 Un-devbranch STPC 2021-02-08 17:15:09 -03:00
David Hrdlička
a42b4263f9 cmake: add CPack support 2021-01-31 17:13:14 +01:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
OBattler
f6ef1f833c Vastly overhauled the UI, there's now a completely new Settings dialog as well as a status bar with disk activity icons and removable drive menus;
Thoroughly clean up the code to vastly reduce the number of compiler warnings and found and fixed several bugs in the process;
Applied all mainline PCem commits;
Added SCSI hard disk emulation;
Commented out all unfinished machines and graphics cards;
Added the AOpen AP53 and ASUS P/I-P55T2 machines as well as another Tyan 440FX machine, all three with AMI WinBIOS (patch from TheCollector1995);
Added the Diamond Stealth 3D 3000 (S3 ViRGE/VX) graphics card (patch from TheCollector1995);
Added the PS/2 XT IDE (AccuLogic) HDD Controller (patch from TheCollector1995);
Added Microsoft/Logitech Bus Mouse emulation (patch from waltje);
Overhauled the makefiles (patch from waltje);
Added the Adaptec AHA-1542CF SCSI controller (patch from waltje);
Added preliminary (but still unfinished) Adaptec AHA-154x SCSI controller BIOS support (patch from waltje);
Added an ISABugger debugging device (patch from waltje);
Added sanity checks to the Direct3D code.
2017-05-05 01:49:42 +02:00
Melissa Goad
53bd6f4609 CMake builds work fully now 2017-03-18 20:53:52 -05:00
Melissa Goad
e26ed9907d CMake builds compile now, but segfault at start 2017-03-18 20:44:46 -05:00
Melissa Goad
e361b0e429 Merge RIVA 128 and RIVA TNT implementations 2016-12-13 20:22:38 -06:00
Melissa Goad
181f1f643e Add CMake in preparation for MSVC builds 2016-12-09 16:40:08 -06:00