Skip to content
Snippets Groups Projects
Commit ccf5f2be authored by Nils Petter Skålerud's avatar Nils Petter Skålerud
Browse files

Trying to fix submodules to only do shallow pull.

Working on CMake script to be more consistent across platforms in terms of copying resources to correct folder.

Signed-off-by: default avatarNils Petter Skålerud <np_skalerud@hotmail.com>
parent ec482438
No related branches found
No related tags found
No related merge requests found
[submodule "external/DMath"] [submodule "external/DMath"]
path = external/DMath path = external/DMath
url = https://github.com/Didgy74/DMath.git url = https://github.com/Didgy74/DMath.git
shallow = true
[submodule "external/fx-gltf"] [submodule "external/fx-gltf"]
path = external/fx-gltf path = external/fx-gltf
url = https://github.com/jessey-git/fx-gltf.git url = https://github.com/jessey-git/fx-gltf.git
shallow = true
[submodule "external/nlohmann-json"] [submodule "external/nlohmann-json"]
path = external/nlohmann-json path = external/nlohmann-json
url = https://github.com/nlohmann/json.git url = https://github.com/nlohmann/json.git
shallow = true
...@@ -3,7 +3,6 @@ project(DEngine) ...@@ -3,7 +3,6 @@ project(DEngine)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
file(GLOB_RECURSE SOURCE_FILES "src/*.cpp") file(GLOB_RECURSE SOURCE_FILES "src/*.cpp")
add_executable(${PROJECT_NAME} ${SOURCE_FILES}) add_executable(${PROJECT_NAME} ${SOURCE_FILES})
...@@ -24,6 +23,7 @@ add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD ...@@ -24,6 +23,7 @@ add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
${PROJECT_SOURCE_DIR}/Data ${PROJECT_SOURCE_DIR}/Data
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Data ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Data
) )
# GLEW # GLEW
find_package(GLEW 2.0 QUIET) find_package(GLEW 2.0 QUIET)
if (GLEW_FOUND) if (GLEW_FOUND)
......
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${projectDir}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${projectDir}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment