Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SuperElastix
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Mirrors
SuperElastix
Commits
0b4bf195
Commit
0b4bf195
authored
9 years ago
by
Kasper Marstal
Browse files
Options
Downloads
Patches
Plain Diff
COMP: ELASTIX-15 Added CMake scripts folder to CMAKE_MODULE_PATH #comment #resolve
parent
9c25b2e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/elxWinConfig.cmake
+5
-3
5 additions, 3 deletions
CMake/elxWinConfig.cmake
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
with
7 additions
and
4 deletions
CMake/elxWinConfig.cmake
+
5
−
3
View file @
0b4bf195
...
...
@@ -5,7 +5,8 @@ if( MSVC )
if
(
n GREATER 50
)
message
(
FATAL_ERROR
"ITK source code directory path length is too long for MSVC (
${
n
}
> 50)."
"Source code directory path length is too long for MSVC (
${
n
}
> 50)."
"Please move the source code directory to a directory with a shorter path."
)
endif
()
...
...
@@ -13,11 +14,12 @@ if( MSVC )
if
(
n GREATER 50
)
message
(
FATAL_ERROR
"ITK build directory path length is too long for MSVC (
${
n
}
> 50)."
"Build directory path length is too long for MSVC (
${
n
}
> 50)."
"Please move the build directory to a directory with a shorter path."
)
endif
()
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
/bigobj"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
/bigobj"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
/bigobj"
)
endif
()
endif
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
2
−
1
View file @
0b4bf195
...
...
@@ -8,8 +8,9 @@ set( MSVC_INCREMENTAL_DEFAULT ON )
project
(
Elastix
)
# Include SuperElastix CMake scripts
list
(
APPEND
CMAKE_MODULE_PATH
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/CMake"
${
CMAKE_MODULE_PATH
}
)
if
(
${
CMAKE_CXX_COMPILER_ID
}
STREQUAL
"MSVC"
)
...
...
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