[aur-general] cmake build
bernhard at bwalle.de
Sat Aug 28 14:22:57 EDT 2010
Am 28.08.2010 19:17, schrieb Nathan O:
>> Here is the pkg file:
Ok, I took a look at the project. The problem is that the source code
uses __FILE__ and gcc uses the full path of __FILE__ if not called in
the same directory. So
gcc -c bla.c # (1)
produces __FILE__ as 'bla.c' while
gcc -o /home/bwalle/bla.o /home/bwalle/bla.c # (2)
produces __FILE__ as '/home/bwalle/bla.c'.
Since the build system uses a main CMakeLists.txt instead of split
CMakeLists.txt in the source files gcc gets called the way (1).
I would just ignore the warning, but if you really care, you chould
change the build system. Or simply replace __FILE__ by "".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 254 bytes
Desc: OpenPGP digital signature
More information about the aur-general