1
0
Fork 0

Minor CMake packaging tweaks, more to follow.

This commit is contained in:
James Turner 2011-10-18 12:14:20 +01:00
parent dde3576cfb
commit 76c388f7cb
3 changed files with 28 additions and 5 deletions

View file

@ -262,6 +262,15 @@ configure_file (
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(utils) add_subdirectory(utils)
set (INSTALL_DOCS
README
README.OpenAL
README.plib
README.OSG
README.SimGear)
INSTALL(FILES ${INSTALL_DOCS} DESTINATION doc OPTIONAL)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
### uninstall target ### uninstall target
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------

View file

@ -1,7 +1,12 @@
add_executable(GPSsmooth gps.cxx gps_main.cxx) add_executable(GPSsmooth gps.cxx gps.hxx gps_main.cxx)
add_executable(MIDGsmooth MIDG-II.cxx MIDG_main.cxx) add_executable(MIDGsmooth MIDG-II.cxx MIDG-II.hxx MIDG_main.cxx)
add_executable(UGsmooth UGear.cxx UGear_command.cxx UGear_main.cxx UGear_telnet.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 target_link_libraries(GPSsmooth
${SIMGEAR_CORE_LIBRARIES} ${SIMGEAR_CORE_LIBRARIES}

View file

@ -6,14 +6,23 @@ if(GLUT_FOUND)
message(STATUS "found glut") message(STATUS "found glut")
add_executable(fgpanel main.cxx add_executable(fgpanel main.cxx
ApplicationProperties.hxx
FGGLApplication.cxx FGGLApplication.cxx
FGGLApplication.hxx
FGPanelApplication.cxx FGPanelApplication.cxx
FGPanelApplication.hxx
FGPNGTextureLoader.cxx FGPNGTextureLoader.cxx
FGPNGTextureLoader.hxx
FGRGBTextureLoader.cxx FGRGBTextureLoader.cxx
FGRGBTextureLoader.hxx
FGPanelProtocol.cxx FGPanelProtocol.cxx
FGPanelProtocol.hxx
FGFontCache.cxx FGFontCache.cxx
FGFontCache.hxx
panel.cxx panel.cxx
panel_io.cxx) panel.hxx
panel_io.cxx
panel_io.hxx)
target_link_libraries(fgpanel target_link_libraries(fgpanel
${PNG_LIBRARIES} ${PNG_LIBRARIES}