Skip to content
Snippets Groups Projects
Forked from Kart Krew / Kart-Public
5162 commits behind the upstream repository.
  • Eidolon's avatar
    a7135094
    Refactor CMake to allow source grouping and separation of interfaces. · a7135094
    Eidolon authored
    Core and SDL2 are two separate targets now. Core is a static library
    that is linked into SRB2SDL2. The sources for both are separated.
    When using an IDE like Visual Studio or Xcode, the source code
    organized into groups that explain what that group of sources does.
    
    In the future, "Main" could be split into a few more groups based on
    file prefixes, but I think the way it is set up works for now.
    
    Makefile targets are not affected by source_groups and typing `make`
    will automatically compile both the "Core" library and SRB2SDL2
    itself.
    a7135094
    History
    Refactor CMake to allow source grouping and separation of interfaces.
    Eidolon authored
    Core and SDL2 are two separate targets now. Core is a static library
    that is linked into SRB2SDL2. The sources for both are separated.
    When using an IDE like Visual Studio or Xcode, the source code
    organized into groups that explain what that group of sources does.
    
    In the future, "Main" could be split into a few more groups based on
    file prefixes, but I think the way it is set up works for now.
    
    Makefile targets are not affected by source_groups and typing `make`
    will automatically compile both the "Core" library and SRB2SDL2
    itself.
CMakeLists.txt 840 B