Skip to content
Snippets Groups Projects
  1. May 08, 2021
    • James R.'s avatar
      CMake: fix ASM compile · 87afa765
      James R. authored
      - target_sources from correct directory
      - enable_language must be used in add_executable directory
      87afa765
  2. May 05, 2021
    • James R.'s avatar
      Update CMakeLists.txt to use Sourcefiles · f9813844
      James R. authored
      This establishes (near) parity of source code file lists
      between the Makefile and CMakeLists.txt
      
      To make that change I messed around CMakeLists.txt a bit.
      It now uses target_sources and target_compile_definitions.
      I also removed some MSVC stuff since we don't actually
      care about MSVC--it made things easier.
      
      CMake minimum version 3.0 -> 3.13 for target_sources.
      f9813844
  3. May 04, 2021
    • James R.'s avatar
      Rewrite Makefile to be modular as well as more automated · b31056c7
      James R. authored
      Some key points for programmers:
      - Source code files are mostly listed in a 'Sourcefile'.
        So you no longer directly edit the object list. There
        can be multiple Sourcefiles and they can even live in
        subdirectories--the directory name will be prepended to
        every filename in the list. Of course, the Makefile
        still needs to be edited to read from each Sourcefile.
      - Different rules are no longer required for source code
        files that live in subdirectories (such as sdl/ or
        hardware/). Subdirectories Just Work so go ham!
      
      In addition to those points, another important change is
      that the bin directory is no longer divided into platform
      subdirectories (Linux64, Mingw, etc). Executables now go
      directly into bin. If you use DEBUGMODE or target 64-bit,
      then subdirectories for 'debug' and '64' will be made
      though.
      
      Oh by the way, I don't think make clean actually removed
      files before on Windows. It should now. I also fixed as
      many little inconsistencies like that as I noticed.
      
      And now just an overview of the technical aspects that
      shouldn't affect anyone who doesn't REALLY care about the
      Makefile...
      
      objs and dep directories have been moved to a make
      directory. Makefile.cfg and its variants have been moved
      out of their various subdirectories to src/Makefile.d
      make distclean removes the bin and make directories
      entirely, but make clean and cleandep still only affect
      the current build target.
      
      When I say automation, I mean that a lot of copy pasting
      in the Makefile has been reduced.
      b31056c7
  4. Jul 11, 2020
  5. Jul 10, 2020
  6. Jul 07, 2020
  7. Jun 08, 2020
  8. May 11, 2020
  9. May 10, 2020
  10. Feb 22, 2020
  11. Feb 05, 2020
  12. Dec 15, 2019
  13. Dec 07, 2019
  14. Aug 16, 2019
  15. Jun 07, 2019
  16. Mar 19, 2019
  17. Mar 18, 2019
  18. Dec 30, 2018
  19. Dec 26, 2018
  20. Dec 20, 2018
  21. Dec 03, 2018
  22. Nov 23, 2018
  23. Nov 08, 2017
  24. May 27, 2017
  25. May 12, 2017
  26. Jan 15, 2017
  27. Feb 25, 2016
  28. Feb 08, 2016
  29. Feb 06, 2016
  30. Jan 14, 2016
  31. Mar 25, 2015
    • Eidolon's avatar
      Fix compilation and debugging on Windows. · 53680903
      Eidolon authored
      Core code has too many #define dependencies on interface-specific
      defines. This means that it's currently not possible to safely
      separate the core and interface code into different contexts. The
      core code should be refactored to accomadate for this because we
      should not have any interface-specific code in core in the first
      place.
      
      This reverts the static library SRB2Core from a7135094 and instead
      adds the core sources to the SRB2SDL2 target directly.
      
      So frustrating...
      53680903
  32. Mar 08, 2015
  33. Mar 05, 2015
Loading