Skip to content

Commit

Permalink
Merge pull request #355 from carboncopies/354-resolve-include-errors
Browse files Browse the repository at this point in the history
354 resolve include errors
  • Loading branch information
datacrystals authored Sep 1, 2022
2 parents b56ef02 + 36f08c5 commit 5abb2c2
Show file tree
Hide file tree
Showing 90 changed files with 182 additions and 178 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Editor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ add_library(VisualEditor
)

# Link 3rd Party Libs
target_link_libraries(VisualEditor PRIVATE
target_link_libraries(VisualEditor
glad
glfw
IMGUI
Expand All @@ -25,7 +25,7 @@ target_link_libraries(VisualEditor PRIVATE
)

# Link Internal Libs
target_link_libraries(VisualEditor PRIVATE
target_link_libraries(VisualEditor
ERS_CLASS_LoggingSystem
ERS_CLASS_VisualRenderer

Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Menus/GUI_Menu_Debug/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ add_library(Menu_Debug
)

# Link 3rd Party Libs
target_link_libraries(Menu_Debug PRIVATE
target_link_libraries(Menu_Debug
glad
IMGUI
)

# Link Internal Libs
target_link_libraries(Menu_Debug PRIVATE
target_link_libraries(Menu_Debug

GUI_Window_TestEditor
GUI_Window_ControllerSettings
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Menus/GUI_Menu_File/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ add_library(Menu_File
)

# Link 3rd Party Libs
target_link_libraries(Menu_File PRIVATE
target_link_libraries(Menu_File
IMGUI
yaml-cpp
)

# Link Internal Libs
target_link_libraries(Menu_File PRIVATE
target_link_libraries(Menu_File
ERS_CLASS_LoggingSystem
ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Menus/GUI_Menu_Settings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ add_library(Menu_Settings
)

# Link 3rd Party Libs
target_link_libraries(Menu_Settings PRIVATE
target_link_libraries(Menu_Settings
IMGUI
)

# Link Internal Libs
target_link_libraries(Menu_Settings PRIVATE
target_link_libraries(Menu_Settings
ERS_STRUCT_SystemUtils
ERS_STRUCT_HumanInputDeviceUtils
ERS_STRUCT_ProjectUtils
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Menus/GUI_Menu_Window/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ add_library(Menu_Window
)

# Link 3rd Party Libs
target_link_libraries(Menu_Window PRIVATE
target_link_libraries(Menu_Window
IMGUI
)

# Link Internal Libs
target_link_libraries(Menu_Window PRIVATE
target_link_libraries(Menu_Window
ERS_CLASS_VisualRenderer

ERS_STRUCT_SystemUtils
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Utils/ERS_Editor_3DCursor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ add_library(ERS_Editor_3DCursor
)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_3DCursor PRIVATE
target_link_libraries(ERS_Editor_3DCursor
glm
IMGUI
ImGuizmo
)

# Link Internal Libs
target_link_libraries(ERS_Editor_3DCursor PRIVATE
target_link_libraries(ERS_Editor_3DCursor
ERS_CLASS_LoggingSystem

ERS_STRUCT_Camera
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ add_library(ERS_Editor_FontManager
set_property(TARGET ERS_Editor_FontManager PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_FontManager PRIVATE
target_link_libraries(ERS_Editor_FontManager
yaml-cpp
IMGUI
)

# Link Internal Libs
target_link_libraries(ERS_Editor_FontManager PRIVATE
target_link_libraries(ERS_Editor_FontManager
ERS_CLASS_LoggingSystem
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ add_library(ERS_Editor_LayoutManager
set_property(TARGET ERS_Editor_LayoutManager PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_LayoutManager PRIVATE
target_link_libraries(ERS_Editor_LayoutManager
yaml-cpp
IMGUI
)

# Link Internal Libs
target_link_libraries(ERS_Editor_LayoutManager PRIVATE
target_link_libraries(ERS_Editor_LayoutManager
ERS_CLASS_LoggingSystem
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ add_library(ERS_Editor_ThemeManager
set_property(TARGET ERS_Editor_ThemeManager PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_ThemeManager PRIVATE
target_link_libraries(ERS_Editor_ThemeManager
yaml-cpp
IMGUI
)

# Link Internal Libs
target_link_libraries(ERS_Editor_ThemeManager PRIVATE
target_link_libraries(ERS_Editor_ThemeManager
ERS_CLASS_LoggingSystem
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ add_library(ERS_Editor_UserProfileManager
set_property(TARGET ERS_Editor_UserProfileManager PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_UserProfileManager PRIVATE
target_link_libraries(ERS_Editor_UserProfileManager
yaml-cpp
)

# Link Internal Libs
target_link_libraries(ERS_Editor_UserProfileManager PRIVATE
target_link_libraries(ERS_Editor_UserProfileManager
ERS_CLASS_LoggingSystem
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ add_library(ERS_Editor_WindowManager
)

# Link 3rd Party Libs
target_link_libraries(ERS_Editor_WindowManager PRIVATE
target_link_libraries(ERS_Editor_WindowManager
)

# Link Internal Libs
target_link_libraries(ERS_Editor_WindowManager PRIVATE
target_link_libraries(ERS_Editor_WindowManager
ERS_STRUCT_SystemUtils


Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Editor/Windows/GUI_Window_About/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ add_library(GUI_Window_About
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_About PRIVATE
target_link_libraries(GUI_Window_About
glad
glfw
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_About PRIVATE
target_link_libraries(GUI_Window_About
ERS_STRUCT_SystemUtils
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ add_library(GUI_Window_AssetExplorer
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_AssetExplorer PRIVATE
target_link_libraries(GUI_Window_AssetExplorer
glad
glfw
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_AssetExplorer PRIVATE
target_link_libraries(GUI_Window_AssetExplorer
ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ add_library(GUI_Window_AssetStreamingSettings
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_AssetStreamingSettings PRIVATE
target_link_libraries(GUI_Window_AssetStreamingSettings
glad
glfw
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_AssetStreamingSettings PRIVATE
target_link_libraries(GUI_Window_AssetStreamingSettings
ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
ERS_ModelLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ add_library(GUI_Window_ControllerSettings
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_ControllerSettings PRIVATE
target_link_libraries(GUI_Window_ControllerSettings
glad
glfw
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_ControllerSettings PRIVATE
target_link_libraries(GUI_Window_ControllerSettings
ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
ERS_STRUCT_HumanInputDeviceUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ add_library(GUI_Window_EditorCameraSettings
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_EditorCameraSettings PRIVATE
target_link_libraries(GUI_Window_EditorCameraSettings
glad
glfw
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_EditorCameraSettings PRIVATE
target_link_libraries(GUI_Window_EditorCameraSettings
ERS_STRUCT_SystemUtils
ERS_STRUCT_RendererSettings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ add_library(GUI_Window_FontSelector
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FontSelector PRIVATE
target_link_libraries(GUI_Window_FontSelector
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_FontSelector PRIVATE
target_link_libraries(GUI_Window_FontSelector
ERS_Editor_FontManager
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ add_library(GUI_Window_FrameLatencyGraph
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FrameLatencyGraph PRIVATE
target_link_libraries(GUI_Window_FrameLatencyGraph
IMGUI
ImPlot
)

# Link Internal Libs
target_link_libraries(GUI_Window_FrameLatencyGraph PRIVATE
target_link_libraries(GUI_Window_FrameLatencyGraph
ERS_STRUCT_SystemUtils
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ add_library(GUI_Window_FramerateCounter
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FramerateCounter PRIVATE
target_link_libraries(GUI_Window_FramerateCounter
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_FramerateCounter PRIVATE
target_link_libraries(GUI_Window_FramerateCounter
)

target_include_directories(GUI_Window_FramerateCounter PUBLIC ./)
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ add_library(GUI_Window_FramerateGraph
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FramerateGraph PRIVATE
target_link_libraries(GUI_Window_FramerateGraph
IMGUI
ImPlot
)

# Link Internal Libs
target_link_libraries(GUI_Window_FramerateGraph PRIVATE
target_link_libraries(GUI_Window_FramerateGraph
)

target_include_directories(GUI_Window_FramerateGraph PUBLIC ./)
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ add_library(GUI_Window_FramerateHistogram
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FramerateHistogram PRIVATE
target_link_libraries(GUI_Window_FramerateHistogram
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_FramerateHistogram PRIVATE
target_link_libraries(GUI_Window_FramerateHistogram
)

target_include_directories(GUI_Window_FramerateHistogram PUBLIC ./)
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ add_library(GUI_Window_FrameratePlot
)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_FrameratePlot PRIVATE
target_link_libraries(GUI_Window_FrameratePlot
IMGUI
)

# Link Internal Libs
target_link_libraries(GUI_Window_FrameratePlot PRIVATE
target_link_libraries(GUI_Window_FrameratePlot
)

target_include_directories(GUI_Window_FrameratePlot PUBLIC ./)
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ add_library(GUI_Window_ImportModel
set_property(TARGET GUI_Window_ImportModel PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_ImportModel PRIVATE
target_link_libraries(GUI_Window_ImportModel
IMGUI
ImGuiFileDialog
)

# Link Internal Libs
target_link_libraries(GUI_Window_ImportModel PRIVATE
target_link_libraries(GUI_Window_ImportModel
ERS_CLASS_LoggingSystem

ERS_STRUCT_SystemUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ add_library(GUI_Window_ImportModelDirectory
set_property(TARGET GUI_Window_ImportModelDirectory PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(GUI_Window_ImportModelDirectory PRIVATE
target_link_libraries(GUI_Window_ImportModelDirectory
IMGUI
ImGuiFileDialog
)

# Link Internal Libs
target_link_libraries(GUI_Window_ImportModelDirectory PRIVATE
target_link_libraries(GUI_Window_ImportModelDirectory
ERS_CLASS_LoggingSystem

ERS_STRUCT_SystemUtils
Expand Down
Loading

0 comments on commit 5abb2c2

Please sign in to comment.