kde4_add_unit_test assumes wrong executable name
Pau Garcia i Quiles
pgquiles at elpauer.org
Wed Jul 2 11:54:25 CEST 2008
Quoting Patrick Spendrin <ps_ml at gmx.de>:
> 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?
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
More information about the Kde-buildsystem
mailing list