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(utils)
set (INSTALL_DOCS
README
README.OpenAL
README.plib
README.OSG
README.SimGear)
INSTALL(FILES ${INSTALL_DOCS} DESTINATION doc OPTIONAL)
#-----------------------------------------------------------------------------
### uninstall target
#-----------------------------------------------------------------------------

View 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}

View 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
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}