kde4_add_unit_test assumes wrong executable name

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Jul 2 12:20:49 CEST 2008


> Von: Pau Garcia i Quiles
> Quoting Patrick Spendrin
> 
> > Hi all,
> >
> > this is just a small bug I found but I am not sure how to solve it
> > correctly:
> >
> > KDE4Macros.cmake:810 does
> > set(_executable ${EXECUTABLE_OUTPUT_PATH}/${_test_NAME}.bat)
> > whereas it should rather be
> > set(_executable ${EXECUTABLE_OUTPUT_PATH}/${_test_NAME}.exe.bat)
> >
> > I think the executable extension shouldn't be hardcoded though - but  I
> > don't know where I can get that from.
> 
> Would GET_FILENAME_COMPONENT( VarName FileName EXT ) be OK?
> 
svn up


Christian
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx


More information about the Kde-buildsystem mailing list