Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
7b2261fb
Commit
7b2261fb
authored
Dec 06, 2017
by
Emmanuel Promayon
Browse files
FIXED oops... one last forgotten parse_argument
parent
259e1c17
Changes
1
Hide whitespace changes
Inline
Side-by-side
sdk/cmake/modules/macros/camitk/packaging/CamiTKCEPPackaging.cmake
View file @
7b2261fb
...
...
@@ -11,6 +11,7 @@
#! [NAME packageName]
#! [VENDOR vendorName]
#! [CONTACT contactName]
#! [LICENSE "This is the license text..."]
#! )
#! \endcode
#!
...
...
@@ -18,7 +19,7 @@
#! \param NAME (optional) Specify the package name (default is project name)
#! \param VENDOR (optional) Specify the vendor name (default is TIMC-IMAG)
#! \param CONTACT (optional) Specify the contact name (default is link to CamiTK website)
#! \param
APPLICATIO
NS (optional)
If you want to package some applications
#! \param
LICE
NS
E
(optional)
Specify the license test
#!
#! When configuring CMake, do not forget to set the CMAKE_INSTALL_PREFIX correctly (e.g., /usr on Linux)
#! It will always use the CamiTK install directory as install prefix (install where the core is already)
...
...
@@ -30,11 +31,11 @@ macro(camitk_cep_packaging)
# CEP Packaging only works for stand-alone CEP
if
(
NOT CAMITK_EXTENSION_PROJECT_SET
)
parse_arguments
(
CAMITK_CEP_PACKAGING
"
NAME
;
VENDOR
;
CONTACT
;APPLICATIONS;
DESCRIPTION
;
LICENSE
"
# possible lists
""
# possible option
${
ARGN
}
)
set
(
options
""
)
set
(
oneValueArgs
NAME
VENDOR
CONTACT
DESCRIPTION
LICENSE
)
set
(
multiValueArgs
""
)
cmake_parse_arguments
(
CAMITK_CEP_PACKAGING
"
${
options
}
"
"
${
oneValueArgs
}
"
"
${
multiValueArgs
}
"
${
ARGN
}
)
# Clean list of targets by removing duplicates
# Those may appear if configuring more than once (i.e. by manually clicking more than once on the CMake configure
...
...
@@ -490,4 +491,4 @@ message(STATUS "Generated CEP manifest in CEPPackageManifest.xml")
endif
()
# Standalone CEP
endmacro
()
\ No newline at end of file
endmacro
()
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