From b0f3cd55b5fb6ea497496d8bbefa339d45cd1508 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 5 Aug 2013 15:14:47 -0300 Subject: [PATCH] Spreadsheet: Updated cmake stuff --- src/Mod/CMakeLists.txt | 2 ++ src/Mod/Spreadsheet/CMakeLists.txt | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/Mod/Spreadsheet/CMakeLists.txt diff --git a/src/Mod/CMakeLists.txt b/src/Mod/CMakeLists.txt index b63fac6332..99ba91dd5f 100644 --- a/src/Mod/CMakeLists.txt +++ b/src/Mod/CMakeLists.txt @@ -51,5 +51,7 @@ add_subdirectory(OpenSCAD) add_subdirectory(Plot) +add_subdirectory(Spreadsheet) + diff --git a/src/Mod/Spreadsheet/CMakeLists.txt b/src/Mod/Spreadsheet/CMakeLists.txt new file mode 100644 index 0000000000..1a50685746 --- /dev/null +++ b/src/Mod/Spreadsheet/CMakeLists.txt @@ -0,0 +1,21 @@ + +SET(Spreadsheet_SRCS + Init.py + InitGui.py + Spreadsheet.py + Spreadsheet_rc.py +) +SOURCE_GROUP("" FILES ${Spreadsheet_SRCS}) + +SET(all_files ${Spreadsheet_SRCS}) + +ADD_CUSTOM_TARGET(Spreadsheet ALL + SOURCES ${all_files} +) + +fc_copy_sources(Spreadsheet "${CMAKE_BINARY_DIR}/Mod/Spreadsheet" ${all_files}) + +INSTALL( + FILES ${Spreadsheet_SRCS} + DESTINATION Mod/Spreadsheet +)