<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks, that seems to work!
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 07 Dec 2015, at 15:51 , Mathieu Westphal <<a href="mailto:mathieu.westphal@kitware.com" class="">mathieu.westphal@kitware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi<br class="">
<br class="">
in your CMakeLists.txt<br class="">
<br class="">
IF (PARAVIEW_BUILD_QT_GUI)<br class="">
<br class="">
</div>
Regards<br class="">
</div>
<div class="gmail_extra"><br clear="all" class="">
<div class="">
<div class="gmail_signature">
<div dir="ltr" class="">Mathieu Westphal<br class="">
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">On Mon, Dec 7, 2015 at 3:37 PM, Schlottke-Lakemper, Michael
<span dir="ltr" class=""><<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">m.schlottke-lakemper@aia.rwth-aachen.de</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi folks,
<div class=""><br class="">
</div>
<div class="">We have a handful of custom ParaView plugins, of which some use decorators. That is, we use qt4_wrap_cpp(…) in the CMakeLists.txt and add additional source/interface files to add_paraview_plugin(…). This fails when compiling against a ParaView
version that was configured without GUI support (e.g. on some of the HPC systems we use). When I manually disable the addition of the decorators in CMakeLists.txt, compilation succeeds.</div>
<div class=""><br class="">
</div>
<div class="">Is there a canonical way for me to programmatically detect in CMakeLists.txt whether ParaView was compiled with GUI support? That way I could rewrite my CMakeLists.txt such that it automatically disables als GUI components.</div>
<div class=""><br class="">
</div>
<div class="">Thanks a lot in advance</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<br class="">
<br class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; border-spacing: 0px;" class="">
<div style="word-wrap:break-word" class="">
<div class="">--</div>
<div class="">Michael Schlottke-Lakemper</div>
<div class=""><br class="">
</div>
<div class="">SimLab Highly Scalable Fluids & Solids Engineering</div>
<div class="">Jülich Aachen Research Alliance (JARA-HPC)</div>
<div class="">RWTH Aachen University</div>
<div class="">Wüllnerstraße 5a<br class="">
52062 Aachen<br class="">
Germany</div>
<div class=""><br class="">
</div>
<div class="">Phone: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank" class="">
+49 (241) 80 95188</a></div>
<div class="">Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank" class="">
+49 (241) 80 92257</a></div>
<div class="">Mail: <a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">
m.schlottke-lakemper@aia.rwth-aachen.de</a></div>
<div class="">Web: <a href="http://www.jara.org/jara-hpc" target="_blank" class="">http://www.jara.org/jara-hpc</a></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
<br class="">
</div>
<br class="">
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank" class="">
http://markmail.org/search/?q=Paraview-developers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>