Commit Graph

8 Commits

Author SHA1 Message Date
wmayer
16295d4121 CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.

In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.

This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
triplus
d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Ian Rees
e242e4643b Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
Sebastian Hoogen
a8dd528c1a Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
wmayer
a622d14c2d + port to CMake 3.0 2014-11-15 18:48:58 +01:00
Jose Luis Cercos Pita
ff60c5e882 Moved to resources container 2012-11-05 18:54:20 +01:00
Jose Luis Cercos Pita
a6df3a5968 Fixed translation stuff 2012-11-05 18:51:52 +01:00
Jose Luis Cercos Pita
b90185c842 Re-Created branch form 0, to avoid conflicts 2012-10-29 10:30:17 +01:00