[sword-svn] r2575 - trunk/utilities

greg.hellings at crosswire.org greg.hellings at crosswire.org
Wed Oct 20 05:42:36 MST 2010


Author: greg.hellings
Date: 2010-10-20 05:42:36 -0700 (Wed, 20 Oct 2010)
New Revision: 2575

Modified:
   trunk/utilities/CMakeLists.txt
Log:
Merging diatheke compile option for CMake.


Modified: trunk/utilities/CMakeLists.txt
===================================================================
--- trunk/utilities/CMakeLists.txt	2010-10-20 12:04:33 UTC (rev 2574)
+++ trunk/utilities/CMakeLists.txt	2010-10-20 12:42:36 UTC (rev 2575)
@@ -92,3 +92,27 @@
 	)
 ENDFOREACH(UTIL ${install_UTILITIES})
 
+####################################################################
+# And, of course, diatheke is a beast unto itself
+#
+# Let's go!
+#
+ADD_EXECUTABLE(diatheke
+	diatheke/diatheke.cpp
+	diatheke/corediatheke.cpp
+	diatheke/diathekemgr.cpp
+	diatheke/diafiltmgr.cpp
+	diatheke/thmlcgi.cpp
+	diatheke/gbfcgi.cpp
+	diatheke/osiscgi.cpp
+)
+IF(BUILDING_SHARED)
+	TARGET_LINK_LIBRARIES(diatheke sword)
+ELSE(BUILDING_SHARED)
+	TARGET_LINK_LIBRARIES(diatheke sword_static)
+ENDIF(BUILDING_SHARED)
+INSTALL(TARGETS diatheke
+	DESTINATION ${SWORD_INSTALL_DIR}/bin
+	COMPONENT utilities
+)
+




More information about the sword-cvs mailing list