summaryrefslogtreecommitdiffstats
path: root/utilities
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 19:01:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-25 00:31:50 +0900
commit5bbf72161272557c243ac0bfd6935b058fe8dd17 (patch)
treed4e80394847308a8d064feaba4fe46b1ee315f79 /utilities
parent43c7061c619f465b161f6244eb57c99f7dfa8cd3 (diff)
downloadsmb4k-5bbf72161272557c243ac0bfd6935b058fe8dd17.tar.gz
smb4k-5bbf72161272557c243ac0bfd6935b058fe8dd17.zip
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'utilities')
-rw-r--r--utilities/CMakeLists.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/utilities/CMakeLists.txt b/utilities/CMakeLists.txt
new file mode 100644
index 0000000..4d5711b
--- /dev/null
+++ b/utilities/CMakeLists.txt
@@ -0,0 +1,40 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### (executable)
+
+tde_add_executable( smb4k_mount AUTOMOC
+ SOURCES smb4k_mount.cpp
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_add_executable( smb4k_umount AUTOMOC
+ SOURCES smb4k_umount.cpp
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_add_executable( smb4k_kill AUTOMOC
+ SOURCES smb4k_kill.cpp
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_add_executable( smb4k_cat AUTOMOC
+ SOURCES smb4k_cat.cpp
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_add_executable( smb4k_mv AUTOMOC
+ SOURCES smb4k_mv.cpp
+ DESTINATION ${BIN_INSTALL_DIR}
+)