Oh! I see. After your post, I went back to macro_deal_ii_add_test.cmake and
did find quotes around the ${CMAKE_CURRENT_SOURCE_DIR}. So I added the
quotes in the definition and realized I can get rid of using
BOOST_PP_STRINGIZE.
Thanks!
在 2018年2月6日星期二 UTC-8上午10:01:01,Wolfgang Bangerth写道:
>
> On 02/06/2018 10:28 AM, Weixiong Zheng wrote:
> >
> > > #define SOURCE_DIR
> /Users/GrillCheese/UCB/Research/xtrans/tests/mesh
> >
> >
> > Thanks sir,
> >
> > I got confused a bit. So you meant even with quotes around it, the macro
> > in *.cc code will still not be interpreted as a string?
> >
>
> What I'm saying is that at the end, whatever you do needs to be the
> equivalent to
> #define SOURCE_DIR "/Users/GrillCheese/UCB/Research/xtrans/tests/mesh"
> Not the quotes here. The question is how to get the quotes to appear
> here when you pass this information from cmake.
>
> Best
> W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> <javascript:>
> www: http://www.math.colostate.edu/~bangerth/
>
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.