Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
SuperElastix
Commits
035113e9
Commit
035113e9
authored
Jan 25, 2018
by
FBerendsen
Browse files
BUG: in install script #151
parent
c476f698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Applications/CommandLineInterface/CMakeLists.txt
View file @
035113e9
...
...
@@ -115,10 +115,10 @@ if(WIN32)
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
DEMO_PREFIX
}
/Scripts
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Demo/Scripts_Windows/
${
ScriptFile
}
.bat"
"
${
DEMO_PREFIX
}
/Scripts/
${
ScriptFile
}
.bat"
)
endforeach
()
else
(
WIN32
)
else
(
WIN32
)
foreach
(
ScriptFile
${
ScriptFiles
}
)
add_custom_command
(
TARGET demo P
RE
_BUILD
TARGET demo P
OST
_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
DEMO_PREFIX
}
/Scripts
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Demo/Scripts_Linux/
${
ScriptFile
}
.sh"
"
${
DEMO_PREFIX
}
/Scripts/
${
ScriptFile
}
.sh"
)
endforeach
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment