]> git.notmuchmail.org Git - apitrace/blobdiff - CMakeLists.txt
Install snapdiff.py as well.
[apitrace] / CMakeLists.txt
index c3e8a846caf95d61ac5ea382e07851715e8a77ac..98a8e9dfdec10ee34439029cc8faf1815acb5964 100755 (executable)
@@ -264,6 +264,8 @@ endif ()
 
 add_library (common STATIC
     common/trace_file.cpp
+    common/trace_file_read.cpp
+    common/trace_file_write.cpp
     common/trace_file_zlib.cpp
     common/trace_file_snappy.cpp
     common/trace_model.cpp
@@ -573,8 +575,13 @@ add_subdirectory(cli)
 ##############################################################################
 # Scripts (to support the CLI)
 
-install (PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/scripts/tracediff.sh DESTINATION ${LIB_INSTALL_DIR}/scripts)
-install (PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/scripts/jsondiff.py DESTINATION ${LIB_INSTALL_DIR}/scripts)
+install (
+    PROGRAMS
+        ${CMAKE_CURRENT_SOURCE_DIR}/scripts/tracediff.sh
+        ${CMAKE_CURRENT_SOURCE_DIR}/scripts/jsondiff.py
+        ${CMAKE_CURRENT_SOURCE_DIR}/scripts/snapdiff.py
+    DESTINATION ${SCRIPTS_INSTALL_DIR}
+)
 
 ##############################################################################
 # GUI