Hello,
I have posted my question here because I forgot I was on this mailing list:
http://stackoverflow.com/questions/28773650/cmake-for-windows-dll-with-opencv-project
there you can find my Cmakelists.txt and some code snippets. This is my
first time trying to build a DLL for windows with CMAKE
2:09 PM, Eric Noulard wrote:
>
>
> 2012/12/17 Derek Cole
>
>> Replying to fix the subject
>>
>> On Mon, Dec 17, 2012 at 1:45 PM, Derek Cole wrote:
>>
>>>
>>>I am trying to figure out what I am doing wrong when trying to use
>>
Replying to fix the subject
On Mon, Dec 17, 2012 at 1:45 PM, 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_T
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
err, nevermind, i think that is a non-standard option or something. I am
compiling someone's existing code and that is something leftover I think.
-Derek
On Mon, Jul 16, 2012 at 11:44 AM, Derek Cole wrote:
> Hello,
>
> I have a CMake project with a few sub-projects to be built a
Hello,
I have a CMake project with a few sub-projects to be built as well. In one
of the sub projects I want to compile to a shared object. I used the line
add_library(myfiles SHARED myfiles.c)
in the main project's CMakeLists.txt I have
SET(CMAKE_C_FLAGS_DEBUG "-g -fPIC -O0 -pipe -std=c99 -