Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LidarView
LidarView-Superbuild
Commits
50f6f8eb
Commit
50f6f8eb
authored
Jul 28, 2016
by
Bastien Jacquet
Browse files
Add ninja for simpler build
parent
af85d004
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
50f6f8eb
...
...
@@ -88,6 +88,9 @@ string (STRIP "${cflags}" cflags)
# "Turn this ON to build command lines tools alone." OFF)
if
(
WIN32
)
# Since it only compile with ninja, let's provide it
file
(
COPY
${
SuperBuild_PROJECTS_DIR
}
/win32/ninja.exe
DESTINATION
${
CMAKE_CURRENT_BINARY_DIR
}
)
if
(
(
NOT
"
${
CMAKE_GENERATOR
}
"
MATCHES
"^NMake.*$"
)
OR
(
NOT
"
${
CMAKE_GENERATOR
}
"
MATCHES
"^Visual Studio.*$"
))
# not use VS environment. We need to be pointed to nmake and devenv paths
...
...
Projects/win32/ninja.exe
0 → 100755
View file @
50f6f8eb
File added
Write
Preview
Markdown
is supported
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