On Monday 17 December 2012 19:45:53 Derek Cole wrote:
>
> I am trying to figure out what I am doing wrong when trying to use just flex
> in a Cmake file to build a shared lib.
>
> i basically have the following
>
> find_package(FLEX)
> FLEX_TARGET(Test ../src/test.l ../src/test.c)
> set(SRC_FIL
I am trying to figure out what I am doing wrong when trying to use just
flex in a Cmake file to build a shared lib.
i basically have the following
find_package(FLEX)
FLEX_TARGET(Test ../src/test.l ../src/test.c)set(SRC_FILES mysource.c
${FLEX_Test_OUTPUTS})
add_libary(testlib ${SRC_FILES})
target