Problem solved.
The problem with linking with the C++ lib comes from C++ lib, and has
nothing to do with CMake
Thanks.
2011/6/1 Hendrik Sattler
> Zitat von Maxime Lecourt :
>
> The declarations in my_c_header.h are surrounded by
>>
>> #if defined(__cplusplus)
>>extern "C" {
>> #endif
>> /
The declarations in my_c_header.h are surrounded by
#if defined(__cplusplus)
extern "C" {
#endif
// functions and stuff declarations
#if defined(__cplusplus)
}
#endif
So i'm not sure about whether it's taken into account or not, and how to
have CMake take it into account when I compile m
Zitat von Maxime Lecourt :
I'm having what is probably a newbie problem, but a problem to me.
I have C source files in two different directories, that I use to build a
dll, that is loaded by another C++ project.
I tried to build C objects and link with C++
set_target_properties(ppc PROPERTIES L
Hello,
I'm having what is probably a newbie problem, but a problem to me.
I have C source files in two different directories, that I use to build a
dll, that is loaded by another C++ project.
I tried to build C objects and link with C++
set_target_properties(ppc PROPERTIES LINK_FLAGS "-Wl,--kil