Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Commits
3aee6f1f
Commit
3aee6f1f
authored
3 years ago
by
Alexander Gauggel
Browse files
Options
Downloads
Patches
Plain Diff
[
#26
] CMake VS Babysitting
parent
c393c2d8
No related branches found
No related tags found
1 merge request
!19
Resolve "Asset Loading"
Pipeline
#25066
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/first_mesh/CMakeLists.txt
+7
-2
7 additions, 2 deletions
projects/first_mesh/CMakeLists.txt
with
7 additions
and
2 deletions
projects/first_mesh/CMakeLists.txt
+
7
−
2
View file @
3aee6f1f
...
...
@@ -13,8 +13,13 @@ add_executable(first_mesh src/main.cpp)
# this should fix the execution path to load local files from the project (for MSVC)
if
(
MSVC
)
set_target_properties
(
first_triangle PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
set_target_properties
(
first_triangle PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
set_target_properties
(
first_mesh PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
set_target_properties
(
first_mesh PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
# in addition to setting the output directory, the working directory has to be set
# by default visual studio sets the working directory to the build directory, when using the debugger
set_target_properties
(
first_mesh PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
)
endif
()
# including headers of dependencies and the VkCV framework
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment