Hello there,
after upgrading from CMake 2.4.6 to 2.4.7, the previously working build of our
software project failed. The failures were caused by missing linker flags in
Visual Studio .NET projects that have been specified in the CMakeLists.txt
files using
set_target_properties(mytarget
Gerhard Grimm wrote:
Hello there,
after upgrading from CMake 2.4.6 to 2.4.7, the previously working build of our
software project failed. The failures were caused by missing linker flags in
Visual Studio .NET projects that have been specified in the CMakeLists.txt
files using
Hi Bill,
here's a minimal example, consisting of three files.
source.c:
-
#include stdio.h
void MyExport1(void)
{
puts(MyExport1);
}
void MyExport2(void)
{
puts(MyExport2);
}
-
source.def:
Gerhard Grimm wrote:
Hi Bill,
here's a minimal example, consisting of three files.
source.c:
-
#include stdio.h
void MyExport1(void)
{
puts(MyExport1);
}
void MyExport2(void)
{
puts(MyExport2);
}
2.4.7: Generator Visual Studio 7 .NET
2003 seems to ignore certain LINK_FLAGS properties (worked in 2.4.6)
OK, so I can reproduce the problem, and I will fix it. However, the
reason you are alone here is that you are not really using cmake correctly.
You can just add the .def as one of your
Hoffman; cmake@cmake.org
Betreff: Re: AW: AW: [CMake] CMake 2.4.7: Generator Visual Studio 7
.NET 2003 seems to ignore certain LINK_FLAGS properties (worked in
2.4.6)
Gerhard Grimm wrote:
Hi Bill,
thanks for your hints. The /DEF problem is fixed now.
However, changing the resource container's