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
OpenMesh
OpenMesh
Commits
c836f2f8
Commit
c836f2f8
authored
Jun 19, 2018
by
Jan Möbius
Browse files
Print debug or release state on all archs except MSVC
parent
e5e82e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/ACGOutput.cmake
View file @
c836f2f8
...
...
@@ -30,11 +30,13 @@ function (acg_print_configure_header _id _name)
acg_color_message
(
"
${
_escape
}
[40;37m* Package :
${
_escape
}
[32m
${
_project
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
acg_color_message
(
"
${
_escape
}
[40;37m* Version :
${
_escape
}
[32m
${
_version
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
# Just artistic. remove 2 spaces for release to make it look nicer ;-)
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES
"Debug"
)
acg_color_message
(
"
${
_escape
}
[40;37m* Type :
${
_escape
}
[32m
${
CMAKE_BUILD_TYPE
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
else
()
acg_color_message
(
"
${
_escape
}
[40;37m* Type :
${
_escape
}
[32m
${
CMAKE_BUILD_TYPE
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
if
(
NOT WIN32
)
# Just artistic. remove 2 spaces for release to make it look nicer ;-)
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES
"Debug"
)
acg_color_message
(
"
${
_escape
}
[40;37m* Type :
${
_escape
}
[32m
${
CMAKE_BUILD_TYPE
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
else
()
acg_color_message
(
"
${
_escape
}
[40;37m* Type :
${
_escape
}
[32m
${
CMAKE_BUILD_TYPE
}
${
_escape
}
[37m *
${
_escape
}
[0m"
)
endif
()
endif
()
acg_color_message
(
"
${
_escape
}
[40;37m************************************************************
${
_escape
}
[0m"
)
...
...
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