Re: [CMake] Using gnu flux with cmake

2012-12-18 Thread Martin Koller
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_FILES

[CMake] Using gnu flux with cmake

2012-12-17 Thread Derek Cole
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})