[mapguide-commits] r9739 - in trunk/MgDev: . Doc Doc/samples

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Sep 20 06:31:56 PDT 2020


Author: jng
Date: 2020-09-20 06:31:56 -0700 (Sun, 20 Sep 2020)
New Revision: 9739

Added:
   trunk/MgDev/Doc/CMakeLists.txt
   trunk/MgDev/Doc/samples/CMakeLists.txt
Modified:
   trunk/MgDev/CMakeLists.txt
Log:
Add cmake install targets for samples. Fixes #2827

Modified: trunk/MgDev/CMakeLists.txt
===================================================================
--- trunk/MgDev/CMakeLists.txt	2020-09-19 16:23:51 UTC (rev 9738)
+++ trunk/MgDev/CMakeLists.txt	2020-09-20 13:31:56 UTC (rev 9739)
@@ -259,6 +259,7 @@
 add_subdirectory(Common)
 if (NOT MG_COMMON_SUBSET_ONLY)
     add_subdirectory(Server)
+    add_subdirectory(Doc)
 endif (NOT MG_COMMON_SUBSET_ONLY)
 add_subdirectory(Web)
 if (NOT MG_COMMON_SUBSET_ONLY)

Added: trunk/MgDev/Doc/CMakeLists.txt
===================================================================
--- trunk/MgDev/Doc/CMakeLists.txt	                        (rev 0)
+++ trunk/MgDev/Doc/CMakeLists.txt	2020-09-20 13:31:56 UTC (rev 9739)
@@ -0,0 +1 @@
+add_subdirectory(samples)
\ No newline at end of file

Added: trunk/MgDev/Doc/samples/CMakeLists.txt
===================================================================
--- trunk/MgDev/Doc/samples/CMakeLists.txt	                        (rev 0)
+++ trunk/MgDev/Doc/samples/CMakeLists.txt	2020-09-20 13:31:56 UTC (rev 9739)
@@ -0,0 +1,5 @@
+install(FILES samples.php DESTINATION ${MG_WWWROOT})
+install(
+    DIRECTORY javasamples javaviewersample ol2samples phpsamples phpviewersample
+    DESTINATION ${MG_WWWROOT}
+)
\ No newline at end of file



More information about the mapguide-commits mailing list