Files
create/src/Gui/PreferencePacks/CMakeLists.txt
Chris Hennes 40171d7858 [GUI] Add PreferencePack support
Preference Packs are collections of preferences that can be applied en
mass to the user's current setup. Any preference that can be stored in
user.cfg can be stored in a preference pack, and they are designed to be
easy to distribute.

Support is also added for saving a subset of current preferences into a
new preference pack in order to facilitate easy creation of new
"themes", etc.
2021-05-13 09:08:33 -05:00

28 lines
585 B
CMake

SET(PreferencePacks_Files
"package.xml"
)
SET(PreferencePacks_Directories
"FreeCAD Classic Colors"
)
ADD_CUSTOM_TARGET(PreferencePacks_data ALL
SOURCES ${PreferencePacks_Files} ${PreferencePacks_Directories}
)
FILE(COPY ${PreferencePacks_Files} ${PreferencePacks_Directories} DESTINATION "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks")
INSTALL(
FILES
${PreferencePacks_Files}
DESTINATION
${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks
)
INSTALL(
DIRECTORY
${PreferencePacks_Directories}
DESTINATION
${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks
)