Skip to content

Conversation

@Shimmen
Copy link

@Shimmen Shimmen commented Feb 4, 2024

I found some issues with the CMakeLists.txt build script which I fixed:

  1. According to Google there is no CMake function/macro called setup_target_libs, and CMake (recent version) fails when executing the CMakeLists.txt script. It might be an artefact from the project this was originally created for(?). Either way, this pull request simply removes that line.
  2. The project did not have any include directories specified, so if you added the project with target_link_libraries(MyTarget offsetAllocator) the header would not be identified. Adding the call to target_include_directories fixes this.

Thanks!

// Simon

According to Google there is no such CMake function/macro...
@Shimmen Shimmen marked this pull request as draft February 4, 2024 21:47
@Shimmen Shimmen changed the title Remove call to invalid setup_target_libs CMake function/macro Fix CMakeLists.txt Feb 4, 2024
@Shimmen Shimmen marked this pull request as ready for review February 4, 2024 23:29
Shimmen added 20 commits July 14, 2025 19:54
 - Require modern CMake version (to avoid deprecation warnings)
 - Explicitly set c++ version as 20 (as required by the code)
 - Set appropriate warning levels
 - Use cstdint integers as the typedefs are not visible here
 - Use the new path for offsetAllocator.hpp
 - Remove include of "gfxTestFixture.hpp" as it's not available nor required
Most of this is generated by copilot, so let's see if it works!
because we have the FetchContent backup path.
As suggested by sebbbi#3 (comment), and implemented in tcantenot@7f8218a.
@Shimmen
Copy link
Author

Shimmen commented Jul 14, 2025

I forgot that I had used the main branch as the pull request. All these following commits today were not intended for this pull request, it's just further improvements to the library. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant