Commit Graph

8 Commits

Author SHA1 Message Date
wmayer
8088aa159f 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
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Ian Rees
0a70ce4eef Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
Sebastian Hoogen
27cd61f849 Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
wmayer
c49d75a4c5 + port to CMake 3.0 2014-11-15 18:48:58 +01:00
Jose Luis Cercos Pita
6704bccc97 Moved to resources container 2012-11-05 18:54:20 +01:00
Jose Luis Cercos Pita
c84418bc91 Fixed translation stuff 2012-11-05 18:51:52 +01:00
Jose Luis Cercos Pita
d7c5054c14 Re-Created branch form 0, to avoid conflicts 2012-10-29 10:30:17 +01:00