forked from Ultimaker/cura-binary-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (38 loc) · 1.86 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
project(cura-binary-data)
cmake_minimum_required(VERSION 2.8.12)
include(GNUInstallDirs)
option(ENABLE_FIRMWARE_INSTALL
"Enable installation of firmware files" ON)
option(ENABLE_I18N_INSTALL
"Enable installation of language files" ON)
option(ENABLE_WHATSNEW_INSTALL
"Enable installation of What's New files" ON)
if(ENABLE_I18N_INSTALL)
install(DIRECTORY cura/resources/i18n DESTINATION ${CMAKE_INSTALL_DATADIR}/cura/resources)
install(DIRECTORY uranium/resources/i18n DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium/resources)
endif(ENABLE_I18N_INSTALL)
if(ENABLE_FIRMWARE_INSTALL)
install(DIRECTORY cura/resources/firmware DESTINATION ${CMAKE_INSTALL_DATADIR}/cura/resources)
endif(ENABLE_FIRMWARE_INSTALL)
if(ENABLE_WHATSNEW_INSTALL)
install(FILES cura/resources/images/whats_new/0.png
cura/resources/images/whats_new/1.png
cura/resources/images/whats_new/2.png
cura/resources/images/whats_new/3.png
cura/resources/images/whats_new/4.png
cura/resources/images/whats_new/0.gif
cura/resources/images/whats_new/1.gif
cura/resources/images/whats_new/2.gif
cura/resources/images/whats_new/3.gif
cura/resources/images/whats_new/4.gif
DESTINATION ${CMAKE_INSTALL_DATADIR}/cura/resources/images/whats_new OPTIONAL)
install(FILES cura/resources/texts/whats_new/0.html
cura/resources/texts/whats_new/1.html
cura/resources/texts/whats_new/2.html
cura/resources/texts/whats_new/3.html
cura/resources/texts/whats_new/4.html
DESTINATION ${CMAKE_INSTALL_DATADIR}/cura/resources/texts/whats_new OPTIONAL)
endif()
if(WIN32)
install(DIRECTORY windows/arduino DESTINATION ".")
endif()