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
Main Repositories
otb
Commits
3d483ece
Commit
3d483ece
authored
Apr 20, 2016
by
Rashad Kanavath
Browse files
COMP: do not make .app bundle for mapla and monteverdi
parent
db9a8450
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMake/MonteverdiApplicationMacros.cmake
View file @
3d483ece
...
...
@@ -11,23 +11,12 @@ macro(create_monteverdi_application)
add_executable
(
${
APPLICATION_NAME
}
WIN32
${
APPLICATION_SOURCES
}
)
elseif
(
APPLE
)
add_executable
(
${
APPLICATION_NAME
}
MACOSX_BUNDLE
${
APPLICATION_SOURCES
}
)
else
()
#Linux
else
()
#Unix
add_executable
(
${
APPLICATION_NAME
}
${
APPLICATION_SOURCES
}
)
endif
()
set
(
EXECUTABLE_NAME
${
APPLICATION_NAME
}
)
if
(
APPLE
)
string
(
SUBSTRING
${
APPLICATION_NAME
}
0 1 FIRST_LETTER
)
string
(
TOUPPER
${
FIRST_LETTER
}
FIRST_LETTER
)
string
(
REGEX REPLACE
"^.(.*)"
"
${
FIRST_LETTER
}
\\
1"
APPLICATION_OUTPUT_NAME
"
${
APPLICATION_NAME
}
"
)
endif
()
if
(
APPLICATION_OUTPUT_NAME
)
set_target_properties
(
${
APPLICATION_NAME
}
PROPERTIES OUTPUT_NAME
${
APPLICATION_OUTPUT_NAME
}
)
...
...
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