can you provide a source or example?

On Wed, Sep 25, 2013 at 3:53 PM, Anthony Scopatz
<notifications@github.com>wrote:

> In src/CMakeLists.txt:
>
> >  INSTALL(TARGETS CyclusUnitTestDriver
> >    RUNTIME DESTINATION bin
> >    COMPONENT testing
> >    )
> >
> > +# read tests after building the driver, and add them to ctest
> > +set( tgt "CyclusUnitTestDriver")
> > +set( script "${CYCLUS_SRC_DIR}/Config/generate_test_macros.py")
> > +set( exec "--executable=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${tgt}")
> > +set( out "--output=${CYCLUS_BINARY_DIR}/CTestTestfile.cmake")
> > +add_custom_command(TARGET ${tgt}
> > +  POST_BUILD
> > +  COMMAND python ${script} ${exec} ${out}
>
> Or this should just be written to be valid Python 2 & Python 3. It is not
> that hard...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/589/files#r6585492>
> .
>