]> git.mxchange.org Git - flightgear.git/commitdiff
Minor CMake packaging tweaks, more to follow.
authorJames Turner <zakalawe@mac.com>
Tue, 18 Oct 2011 11:14:20 +0000 (12:14 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 18 Oct 2011 11:14:20 +0000 (12:14 +0100)
CMakeLists.txt
utils/GPSsmooth/CMakeLists.txt
utils/fgpanel/CMakeLists.txt

index 15b8cb062f4c34b22be21b88d158b1d6af263012..bd05dd1e3c0676ccb1b2cfa39ff80ebd952be280 100644 (file)
@@ -262,6 +262,15 @@ configure_file (
 add_subdirectory(src)
 add_subdirectory(utils)
 
+set (INSTALL_DOCS 
+    README
+       README.OpenAL
+       README.plib
+       README.OSG
+       README.SimGear)
+
+INSTALL(FILES ${INSTALL_DOCS} DESTINATION doc OPTIONAL)
+
 #-----------------------------------------------------------------------------
 ### uninstall target
 #-----------------------------------------------------------------------------
index 2cd60a8cc17148af857f224edc20eb3aae97e247..ecfdde70fe543a124e96fa4ec1c36ccc1118c41e 100644 (file)
@@ -1,7 +1,12 @@
 
-add_executable(GPSsmooth gps.cxx gps_main.cxx)
-add_executable(MIDGsmooth MIDG-II.cxx MIDG_main.cxx)
-add_executable(UGsmooth UGear.cxx UGear_command.cxx UGear_main.cxx UGear_telnet.cxx)
+add_executable(GPSsmooth gps.cxx gps.hxx gps_main.cxx)
+add_executable(MIDGsmooth MIDG-II.cxx MIDG-II.hxx MIDG_main.cxx)
+add_executable(UGsmooth 
+    UGear.cxx UGear.hxx
+    UGear_command.cxx UGear_command.hxx
+    UGear_main.cxx 
+    UGear_telnet.cxx
+    UGear_telnet.hxx)
 
 target_link_libraries(GPSsmooth
        ${SIMGEAR_CORE_LIBRARIES}
index ed0b991fb4b6575ae25f4de8bbd79ea8deae92fe..2678babe610066c62ae48d2a77533f7dcab5e4e4 100644 (file)
@@ -6,14 +6,23 @@ if(GLUT_FOUND)
        message(STATUS "found glut")
 
        add_executable(fgpanel main.cxx
+           ApplicationProperties.hxx
                FGGLApplication.cxx 
+               FGGLApplication.hxx
                FGPanelApplication.cxx 
+               FGPanelApplication.hxx
                FGPNGTextureLoader.cxx 
-               FGRGBTextureLoader.cxx 
+               FGPNGTextureLoader.hxx
+               FGRGBTextureLoader.cxx
+               FGRGBTextureLoader.hxx 
                FGPanelProtocol.cxx
+               FGPanelProtocol.hxx
                FGFontCache.cxx
+               FGFontCache.hxx
                panel.cxx 
-               panel_io.cxx)
+               panel.hxx
+               panel_io.cxx
+               panel_io.hxx)
 
        target_link_libraries(fgpanel 
                ${PNG_LIBRARIES}