commit 08cef8d6b61d642e530e258be6b5e3e158f1e1c3
Author: David Sorber <david.sorber@gmail.com>
Date:   Sat Feb 18 15:42:07 2017 -0500

    Adding initial CMakeLists.txt. This version only builds PCA, it does not (yet) build packJPG as a subproject.

diff --git a/software/photo_compress_archiver/CMakeLists.txt b/software/photo_compress_archiver/CMakeLists.txt
new file mode 100644
index 0000000..af264a7
--- /dev/null
+++ b/software/photo_compress_archiver/CMakeLists.txt
@@ -0,0 +1,25 @@
+project("Photo Compress Archiver")
+cmake_minimum_required(VERSION 2.8)
+
+include_directories(.)
+
+set(pca_sources
+    ../PhotoCompressArchiver.cc
+)
+
+set(EXTERNAL_LIBS)
+
+find_package(Threads)
+
+find_package(Boost 1.58.0 COMPONENTS system regex program_options filesystem REQUIRED)
+if (Boost_FOUND)
+   include_directories(${Boost_INCLUDE_DIRS})
+   set(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${Boost_LIBRARIES})
+endif()
+
+add_definitions("-std=c++11 -g")
+
+add_executable(pca
+    ${pca_sources}
+    ../main.cc)
+target_link_libraries(pca ${CMAKE_THREAD_LIBS_INIT} ${EXTERNAL_LIBS})
