Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
fe6bd1bf
Commit
fe6bd1bf
authored
Feb 06, 2019
by
Lotrado
Browse files
Use MSVC_IDE instead of MSVC as conditions for Visual Studio-specific code.
parent
27b34d20
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
fe6bd1bf
...
...
@@ -25,6 +25,6 @@ endif()
add_subdirectory
(
dependencies
)
add_subdirectory
(
src
)
if
(
MSVC
)
if
(
MSVC
_IDE
)
set_property
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
PROPERTY VS_STARTUP_PROJECT demo
)
endif
()
src/demo/CMakeLists.txt
View file @
fe6bd1bf
...
...
@@ -56,6 +56,6 @@ if(COMMAND cotire)
cotire
(
demo
)
endif
()
if
(
MSVC
)
if
(
MSVC
_IDE
)
set_property
(
TARGET demo PROPERTY VS_DEBUGGER_WORKING_DIRECTORY
"
${
MIRRAGE_ROOT_DIR
}
/assets"
)
endif
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment