Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduces a very early debugger feature for quaesar #25

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

dartfnm
Copy link
Contributor

@dartfnm dartfnm commented Oct 9, 2024

  • EASTL lib
  • added some not very functional debugger windows
  • CMake flags for VC Windows development

+ EASTL lib
+ added some not very functional debugger windows
+ CMake flags for VC Windows development
@dartfnm dartfnm force-pushed the debugger-start branch 2 times, most recently from 853c4a4 to 7f6ef90 Compare October 9, 2024 08:36
make clang & gcc happy

gcc compile errors fixed
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(imgui)

if (APPLE OR LINUX OR UNIX)
if (APPLE OR LINUX)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be if (APPLE OR LINUX OR UNIX) to work for some reason.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one has to be fixed as well (there are two checks in the same file)

Copy link
Contributor Author

@dartfnm dartfnm Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps there should be

if (APPLE OR LINUX OR UNIX)
target_include_directories(imgui PRIVATE ${SDL2_INCLUDE_DIRS})```
Instead of
`target_link_libraries(imgui PRIVATE ${SDL2_LIBRARIES})`

@@ -21,8 +21,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/backends)
# Create static library
add_library(imgui STATIC ${IMGUI_SOURCES})

if (APPLE OR LINUX OR UNIX)
target_include_directories(imgui PRIVATE ${SDL2_INCLUDE_DIRS})
if (APPLE OR LINUX)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here if (APPLE OR LINUX OR UNIX) to work for some reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.
I also wanted to ask what version of clang-format checks formatting?
sudo apt-get install -y clang-format

Because I have tried on different versions of clang-format and it gives different results compare with your check.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically the problem with
AlignTrailingComments: true
Because its syntax is already deprecated since clang-format 16.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lets remove that from the clang-format file

@emoon emoon merged commit b021be8 into theblacklotus:debugger-start Oct 9, 2024
11 checks passed
@emoon
Copy link
Member

emoon commented Oct 9, 2024

Thanks! Hopefully merging should be a bit easier after the initial one.

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.

2 participants