summaryrefslogtreecommitdiff
path: root/image/CMakeLists.txt
diff options
context:
space:
mode:
authorMeng Mengmeng <mengmeng.meng@intel.com>2014-01-22 12:44:46 +0000
committerJosé Fonseca <jfonseca@vmware.com>2014-01-22 13:22:43 +0000
commit5ef7994209def7644bb582397aa2242ab95f1467 (patch)
treeb9f36e4c897a1d9bbb021fda70db04308b78ed3c /image/CMakeLists.txt
parent093cf11c29fbb3db0ff8e390bf86ad29e61422a3 (diff)
glretrace: Add '--snapshot-format=MD5' option that allows write image MD5 to a text format file.
Collecting MD5 is obtained based on raw buffer. Rendering results are reproducd accurately. Creating .txt in place of PNG Format, that would save more disk space and run faster. Reference command: glretrace --snapshot-format=MD5 -s /tmp/MD5.log smokinguns.trace
Diffstat (limited to 'image/CMakeLists.txt')
-rw-r--r--image/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/image/CMakeLists.txt b/image/CMakeLists.txt
index 51d7ed83..ea080742 100644
--- a/image/CMakeLists.txt
+++ b/image/CMakeLists.txt
@@ -1,5 +1,6 @@
include_directories (
${PNG_INCLUDE_DIR}
+ ${MD5_INCLUDE_DIR}
)
add_library (image STATIC
@@ -7,8 +8,10 @@ add_library (image STATIC
image_png.cpp
image_pnm.cpp
image_raw.cpp
+ image_md5.cpp
)
target_link_libraries (image
${PNG_LIBRARIES}
+ ${MD5_LIBRARIES}
)