From c1567311c457c3674ea3c07005968a0342038927 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 b63fac633..99ba91dd5 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 000000000..1a5068574 --- /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 +)