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

240 fix cmake deps #243

Merged
merged 34 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bb81851
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
331a6c4
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
8a1ae83
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
83db132
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
29c307b
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
db2a864
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
84b7d30
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
ce70952
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
37d0e74
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
a49bdb8
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
e617388
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
75bc3a6
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
dd8af07
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
7134e7b
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
951b4c3
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
eb05b64
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
92754e9
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
d6cada6
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
de73b8d
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
7138be4
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
6b98128
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
f102c28
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
7ea0589
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
14ce1fc
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
dce468e
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
aaea2b8
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
cb86992
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
cb29033
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
bf517ef
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
0852aba
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
bd6e3e5
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
e7f4677
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
74f74b6
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
65a1b64
Cleanup CMake Dependencies (#240)
datacrystals Jun 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Source/Core/Editor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ target_link_libraries(VisualEditor
ERS_Editor_UserProfileManager
ERS_Editor_3DCursor

ERS_SceneManager

Menu_File
Menu_View
Menu_Window
Expand Down
10 changes: 4 additions & 6 deletions Source/Core/Editor/GUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
#include <GLFW/glfw3.h>

#include <imgui.h>

#include <implot.h>


#include <backends/imgui_impl_glfw.h>
#include <backends/imgui_impl_opengl3.h>

#include <implot.h>

#include <ImGuizmo.h>

// Internal Libraries (BG convention: use <> instead of "")
Expand All @@ -29,12 +27,12 @@
#include <ERS_STRUCT_ProjectUtils.h>
#include <ERS_STRUCT_HumanInputDeviceUtils.h>

#include <ERS_Editor_FontManager.h>
#include <ERS_Editor_ThemeManager.h>
#include <ERS_Editor_FontManager.h>
#include <ERS_Editor_UserProfileManager.h>
#include <ERS_Editor_3DCursor.h>

#include <ERS_SceneManager.h>
#include <ERS_Editor_3DCursor.h>

#include <GUI_Menu_File.h>
#include <GUI_Menu_View.h>
Expand Down
3 changes: 2 additions & 1 deletion Source/Core/Editor/Menus/GUI_Menu_Debug/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ add_library(Menu_Debug
# Link 3rd Party Libs
target_link_libraries(Menu_Debug
glad
glfw
IMGUI
)

Expand All @@ -31,6 +30,8 @@ target_link_libraries(Menu_Debug
GUI_Window_TestEditor

ERS_STRUCT_SystemUtils

ERS_CLASS_LoggingSystem
)

target_include_directories(Menu_Debug PUBLIC ./)
8 changes: 4 additions & 4 deletions Source/Core/Editor/Menus/GUI_Menu_File/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ add_library(Menu_File

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

# Link Internal Libs
Expand All @@ -33,14 +32,15 @@ target_link_libraries(Menu_File

ERS_Editor_ImportAsset

ERS_SceneWriter
ERS_ProjectLoader

ERS_SceneWriter
ERS_SceneManager

ERS_STRUCT_Scene

GUI_Window_ProjectSettings
GUI_Window_ShaderEditor

ERS_CLASS_VisualRenderer
)

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Editor/Menus/GUI_Menu_File/GUI_Menu_File.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#include <ERS_CLASS_LoggingSystem.h>
#include <ERS_STRUCT_SystemUtils.h>
#include <ERS_STRUCT_ProjectUtils.h>
#include <ERS_ProjectLoader.h>

#include <GUI_ImportAsset.h>

#include <ERS_ProjectLoader.h>
#include <ERS_SceneWriter.h>
#include <ERS_SceneManager.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,24 @@ set_property(TARGET ERS_Editor_ImportAsset PROPERTY CXX_STANDARD 17)
# Link 3rd Party Libs
target_link_libraries(ERS_Editor_ImportAsset
yaml-cpp
glm
IMGUI
ImGuiFileDialog
assimp
FreeImage
)

# Link Internal Libs
target_link_libraries(ERS_Editor_ImportAsset
ERS_CLASS_LoggingSystem

ERS_STRUCT_SystemUtils
ERS_STRUCT_Mesh
ERS_STRUCT_Texture
ERS_STRUCT_Vertex
ERS_STRUCT_Model
ERS_STRUCT_IOData

GUI_Window_ImportProgressBar
)

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Editor/Menus/GUI_Menu_Settings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ add_library(Menu_Settings

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

Expand Down
7 changes: 2 additions & 5 deletions Source/Core/Editor/Menus/GUI_Menu_View/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
add_library(Menu_View

# Add Source Files (.cpp)

"GUI_Menu_View.cpp"

# Add Header Files (.h)
Expand All @@ -19,8 +18,6 @@ add_library(Menu_View

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

Expand All @@ -31,9 +28,9 @@ target_link_libraries(Menu_View
ERS_Editor_ThemeManager
ERS_Editor_FontManager

GUI_Window_About

GUI_Window_ThemeSelector

GUI_Window_About
)

target_include_directories(Menu_View PUBLIC ./)
5 changes: 2 additions & 3 deletions Source/Core/Editor/Menus/GUI_Menu_Window/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@ add_library(Menu_Window

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

# Link Internal Libs
target_link_libraries(Menu_Window
ERS_CLASS_VisualRenderer

ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils

ERS_CLASS_VisualRenderer

GUI_Window_SceneTree
GUI_Window_SystemLog
Expand Down
18 changes: 9 additions & 9 deletions Source/Core/Editor/Menus/GUI_Menu_Window/GUI_Menu_Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
#include <ERS_STRUCT_SystemUtils.h>
#include <ERS_STRUCT_ProjectUtils.h>

#include <GUI_Window_FramerateCounter.h>
#include <GUI_Window_RenderingSettings.h>
#include <GUI_Window_FramerateHistogram.h>
#include <GUI_Window_FramerateGraph.h>
#include <GUI_Window_FrameratePlot.h>
#include <GUI_Window_FrameLatencyGraph.h>
#include <GUI_Window_ObjectProperties.h>
#include <GUI_Window_RAMGraph.h>

#include <GUI_Window_SceneTree.h>
#include <GUI_Window_SystemLog.h>
#include <GUI_Window_AssetExplorer.h>
#include <GUI_Window_ScriptEditor.h>

#include <GUI_Window_RenderingSettings.h>
#include <GUI_Window_RAMGraph.h>
#include <GUI_Window_ObjectProperties.h>
#include <GUI_Window_FramerateGraph.h>
#include <GUI_Window_FrameLatencyGraph.h>
#include <GUI_Window_FramerateCounter.h>
#include <GUI_Window_FramerateHistogram.h>
#include <GUI_Window_FrameratePlot.h>

#include <ERS_Editor_3DCursor.h>
#include <ERS_SceneManager.h>

Expand Down
3 changes: 1 addition & 2 deletions Source/Core/Editor/Utils/ERS_Editor_3DCursor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ add_library(ERS_Editor_3DCursor
# Link 3rd Party Libs
target_link_libraries(ERS_Editor_3DCursor
glm
glad
glfw
IMGUI
ImGuizmo
)

# Link Internal Libs
target_link_libraries(ERS_Editor_3DCursor
ERS_CLASS_LoggingSystem

ERS_STRUCT_Camera
ERS_STRUCT_LocRotScale
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

// Internal Libraries (BG convention: use <> instead of "")
#include <ERS_CLASS_LoggingSystem.h>

#include <ERS_STRUCT_Camera.h>
#include <ERS_STRUCT_LocRotScale.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ set_property(TARGET ERS_Editor_UserProfileManager PROPERTY CXX_STANDARD 17)
# Link 3rd Party Libs
target_link_libraries(ERS_Editor_UserProfileManager
yaml-cpp
IMGUI
)

# Link Internal Libs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ add_library(GUI_Window_FramerateHistogram
# Link 3rd Party Libs
target_link_libraries(GUI_Window_FramerateHistogram
IMGUI
ImPlot
)

# Link Internal Libs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ add_library(GUI_Window_FrameratePlot
# Link 3rd Party Libs
target_link_libraries(GUI_Window_FrameratePlot
IMGUI
ImPlot
)

# Link Internal Libs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ add_library(GUI_Window_ImportProgressBar

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ target_link_libraries(GUI_Window_ObjectProperties
target_link_libraries(GUI_Window_ObjectProperties

ERS_Editor_3DCursor

ERS_STRUCT_ProjectUtils
ERS_STRUCT_LocRotScale

ERS_SceneManager

)
Expand Down
3 changes: 0 additions & 3 deletions Source/Core/Editor/Windows/GUI_Window_RAMGraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ target_link_libraries(GUI_Window_RAMGraph

# Link Internal Libs
target_link_libraries(GUI_Window_RAMGraph
ERS_CLASS_LoggingSystem

ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
ERS_STRUCT_RendererSettings
ERS_STRUCT_HardwareInfo

)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ target_link_libraries(GUI_Window_RenderingSettings

# Link Internal Libs
target_link_libraries(GUI_Window_RenderingSettings
ERS_CLASS_LoggingSystem

ERS_STRUCT_SystemUtils
ERS_STRUCT_ProjectUtils
ERS_STRUCT_RendererSettings

)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ add_library(GUI_Window_SystemLog

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ target_link_libraries(ERS_ControllerSettingsLoader
# Link Internal Libs
target_link_libraries(ERS_ControllerSettingsLoader
ERS_STRUCT_SystemUtils
ERS_STRUCT_ControllerSettings
ERS_STRUCT_IOData
ERS_STRUCT_ControllerSettings
)


Expand Down
4 changes: 2 additions & 2 deletions Source/Core/Loader/ERS_ModelLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ add_library(ERS_ModelLoader
target_link_libraries(ERS_ModelLoader
yaml-cpp
glm
glad
glfw
assimp
FreeImage
)
Expand All @@ -30,6 +28,8 @@ target_link_libraries(ERS_ModelLoader
ERS_STRUCT_Mesh
ERS_STRUCT_Model
ERS_STRUCT_Texture
ERS_STRUCT_Vertex

ERS_STRUCT_SystemUtils
)

Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Loader/ERS_ProjectLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ add_library(ERS_ProjectLoader

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

# Link Internal Libs
target_link_libraries(ERS_ProjectLoader

ERS_STRUCT_IOData
ERS_STRUCT_SystemUtils
ERS_STRUCT_Project
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Loader/ERS_SceneLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ add_library(ERS_SceneLoader

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

# Link Internal Libs
Expand Down
14 changes: 4 additions & 10 deletions Source/Core/Manager/ERS_ProjectManager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,18 @@ set_property(TARGET ERS_ProjectManager PROPERTY CXX_STANDARD 17)

# Link 3rd Party Libs
target_link_libraries(ERS_ProjectManager
glad
glfw
)

# Link Internal Libs
target_link_libraries(ERS_ProjectManager
ERS_STRUCT_SystemUtils
ERS_STRUCT_Project

ERS_SceneLoader
ERS_SceneManager
ERS_ProjectLoader
ERS_ProjectWriter

ERS_ControllerSettingsLoader

ERS_SceneManager
ERS_SceneLoader

ERS_STRUCT_SystemUtils
ERS_STRUCT_Project

)

target_include_directories(ERS_ProjectManager PUBLIC ./)
Expand Down
Loading