10 find_package (OpenGL REQUIRED) |
10 find_package (OpenGL REQUIRED) |
11 |
11 |
12 get_target_property (UPDATEREVISION_EXE updaterevision LOCATION) |
12 get_target_property (UPDATEREVISION_EXE updaterevision LOCATION) |
13 |
13 |
14 add_custom_target (revision_check ALL |
14 add_custom_target (revision_check ALL |
15 COMMAND ${UPDATEREVISION_EXE} src/Git.h |
15 COMMAND ${UPDATEREVISION_EXE} src/gitinfo.h |
16 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
16 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
17 DEPENDS updaterevision) |
17 DEPENDS updaterevision) |
18 |
18 |
19 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
19 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
20 |
20 |
21 set (LDForgeSources |
21 set (LDForgeSources |
22 src/AddObjectDialog.cc |
22 src/actions.cc |
23 src/Colors.cc |
23 src/actionsEdit.cc |
24 src/ColorSelector.cc |
24 src/addObjectDialog.cc |
25 src/Configuration.cc |
25 src/basics.cc |
26 src/ConfigurationDialog.cc |
26 src/colors.cc |
27 src/CrashCatcher.cc |
27 src/colorSelector.cc |
28 src/Dialogs.cc |
28 src/configuration.cc |
29 src/Documentation.cc |
29 src/configDialog.cc |
30 src/Document.cc |
30 src/crashCatcher.cc |
31 src/EditHistory.cc |
31 src/dialogs.cc |
32 src/ExternalPrograms.cc |
32 src/documentation.cc |
33 src/GLRenderer.cc |
33 src/editHistory.cc |
34 src/LDConfig.cc |
34 src/extPrograms.cc |
35 src/LDObject.cc |
35 src/glRenderer.cc |
36 src/Main.cc |
36 src/ldConfig.cc |
37 src/MainWindow.cc |
37 src/ldDocument.cc |
38 src/MessageLog.cc |
38 src/ldObject.cc |
39 src/Misc.cc |
39 src/main.cc |
40 src/PartDownloader.cc |
40 src/mainWindow.cc |
41 src/Primitives.cc |
41 src/messageLog.cc |
42 src/Types.cc |
42 src/miscallenous.cc |
43 src/Version.cc |
43 src/partDownloader.cc |
44 src/Widgets.cc |
44 src/primitives.cc |
45 src/actions/MainActions.cc |
45 src/radioGroup.cc |
46 src/actions/EditActions.cc |
46 src/version.cc |
47 ) |
47 ) |
48 |
48 |
49 set (LDForgeHeaders |
49 set (LDForgeHeaders |
50 src/Macros.h |
50 src/macros.h |
51 src/CrashCatcher.h |
51 src/crashCatcher.h |
52 src/Colors.h |
52 src/colors.h |
53 src/misc/DocumentPointer.h |
53 src/misc/documentPointer.h |
54 src/misc/InvokationDeferer.h |
54 src/misc/invokeLater.h |
55 src/misc/RingFinder.h |
55 src/misc/ringFinder.h |
56 src/Document.h |
56 src/ldDocument.h |
57 src/AddObjectDialog.h |
57 src/addObjectDialog.h |
58 src/LDConfig.h |
58 src/ldConfig.h |
59 src/PartDownloader.h |
59 src/partDownloader.h |
60 src/LDObject.h |
60 src/ldObject.h |
61 src/Primitives.h |
61 src/primitives.h |
62 src/Misc.h |
62 src/miscallenous.h |
63 src/MessageLog.h |
63 src/messageLog.h |
64 src/Dialogs.h |
64 src/dialogs.h |
65 src/Widgets.h |
65 src/radioGroup.h |
66 src/Documentation.h |
66 src/documentation.h |
67 src/Main.h |
67 src/main.h |
68 src/Types.h |
68 src/basics.h |
69 src/ColorSelector.h |
69 src/colorSelector.h |
70 src/ConfigurationDialog.h |
70 src/configDialog.h |
71 src/GLRenderer.h |
71 src/glRenderer.h |
72 src/Configuration.h |
72 src/configuration.h |
73 src/MainWindow.h |
73 src/mainWindow.h |
74 src/EditHistory.h |
74 src/editHistory.h |
75 src/Format.h |
75 src/format.h |
76 ) |
76 ) |
77 |
77 |
78 set (LDForgeForms |
78 set (LDForgeForms |
79 ui/about.ui |
79 ui/about.ui |
80 ui/addhistoryline.ui |
80 ui/addhistoryline.ui |