Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SandBoxModule
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
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
Guillaume Pasero
SandBoxModule
Commits
7dbca1f8
Commit
7dbca1f8
authored
11 years ago
by
Bradley Lowekamp
Browse files
Options
Downloads
Patches
Plain Diff
Remove ITK prefix from module name and test driver
parent
b80cdd97
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
itk-module.cmake
+7
-5
7 additions, 5 deletions
itk-module.cmake
test/CMakeLists.txt
+2
-2
2 additions, 2 deletions
test/CMakeLists.txt
with
9 additions
and
7 deletions
itk-module.cmake
+
7
−
5
View file @
7dbca1f8
...
...
@@ -3,13 +3,15 @@
get_filename_component
(
MY_CURENT_DIR
"
${
CMAKE_CURRENT_LIST_FILE
}
"
PATH
)
file
(
READ
"
${
MY_CURENT_DIR
}
/README"
DOCUMENTATION
)
# itk_module() defines the module dependencies in ITKExternalTemplate
# ITKExternalTemplate depends on ITKCommon
# The testing module in ITKExternalTemplate depends on ITKTestKernel
# and ITKMetaIO(besides ITKExternalTemplate and ITKCore)
# itk_module() defines the module dependencies in ExternalTemplate
# ExternalTemplate depends on ITKCommon
# The testing module in ExternalTemplate depends on ITKTestKernel
# and ITKMetaIO(besides ExternalTemplate and ITKCore)
# By convention those modules outside of ITK are not prefixed with
# ITK.
# define the dependencies of the include module and the tests
itk_module
(
ITK
ExternalTemplate
itk_module
(
ExternalTemplate
DEPENDS
ITKCommon
TEST_DEPENDS
...
...
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
2
−
2
View file @
7dbca1f8
...
...
@@ -3,11 +3,11 @@ itk_module_test()
#${itk-module} will be the name of this module and will not need to be
#changed when this module is renamed.
set
(
ITK
${
itk-module
}
Tests
set
(
${
itk-module
}
Tests
itkEmptyTest.cxx
)
CreateTestDriver
(
${
itk-module
}
"
${${
itk-module
}
-Test_LIBRARIES
}
"
"
${
ITK
${
itk-module
}
Tests
}
"
)
CreateTestDriver
(
${
itk-module
}
"
${${
itk-module
}
-Test_LIBRARIES
}
"
"
${${
itk-module
}
Tests
}
"
)
itk_add_test
(
NAME itkDeleteMeEmptyTest
COMMAND
${
itk-module
}
TestDriver itkEmptyTest
"argument1"
"..."
)
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