aboutsummaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Implement net componentXavier Del Campo Romero2022-09-201-0/+1
|
* Implement FindENET.cmakeXavier Del Campo Romero2022-09-201-0/+88
| | | | | This library will be later used for networking over UDP/IPv4 in future commits.
* Use find_package for SDL librariesXavier Del Campo Romero2022-07-232-31/+1
| | | | | | | | | | CMake already distributes FindSDL*.cmake files for SDL and SDL_mixer, which support custom prefixes via environment variables, removing the need for ad-hoc logic in Win9x builds. Also, according to FindSDL.cmake, #include <SDL.h> is the preferred way for portability reasons, instead of #include <SDL/SDL.h>, which is the option that has been used so far.
* ps1.cmake: import PSXSDK using find_packageXavier Del Campo Romero2022-07-231-10/+1
|
* Implement FindPSXSDK.cmakeXavier Del Campo Romero2022-07-231-0/+94
|
* Update FindSDL_gfx.cmake as of today's upstreamXavier Del Campo Romero2022-07-231-39/+17
| | | | | Ongoing PR: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7475
* Create cdroot directory on common CMakeLists.txtXavier Del Campo Romero2022-07-233-3/+0
|
* Import SDL_gfxXavier Del Campo Romero2022-07-152-0/+9
|
* Implement FindSDL_gfx.cmakeXavier Del Campo Romero2022-07-151-0/+106
| | | | | | | | | Surprisingly, as of today (July 2022) CMake ships with FindSDL*.cmake files for several SDL libraries such as SDL_mixer or SDL_image, but not for SDL_gfx, so one was created, based on FindSDL_mixer.cmake. Reference: https://gitlab.kitware.com/cmake/cmake/-/blob/8a3004d5c28c0ca0ac45f718b64ed3662e499c7a/Modules/FindSDL_mixer.cmake
* host.cmake, win9x.cmake: fetch libfixmath if missingXavier Del Campo Romero2022-06-303-0/+10
|
* cmake/ps1.cmake: use add_library for libpsx.aXavier Del Campo Romero2022-06-191-5/+7
|
* win9x.cmake: remove unneeded dependenciesXavier Del Campo Romero2022-06-081-5/+1
|
* win9x.cmake: use target commands for SDL and SDL_mixerXavier Del Campo Romero2022-06-081-8/+12
| | | | | | | | | | | | Since libSDL.a and libSDL_mixer.a are compiled separately from this project, some hacks had been used to get the build running. However, this approach did not make proper use of target-level properties, which are encouraged according to modern CMake standards over global-level commands such as include_directories() or link_libraries(). OTOH, Win32 dependencies were being imported using link_libraries(), but they in fact are SDL dependencies, so target_link_libraries() can be used instead.
* CMakeLists.txt: move target-specific logic awayXavier Del Campo Romero2022-06-073-0/+7
|
* Split CMakeLists.txt into platform-specific *.cmakeXavier Del Campo Romero2022-05-243-0/+77