main.cxx
options.cxx
util.cxx
+ positioninit.cxx
+ subsystemFactory.cxx
${RESOURCE_FILE}
)
main.hxx
options.hxx
util.hxx
+ positioninit.hxx
+ subsystemFactory.hxx
)
get_property(FG_SOURCES GLOBAL PROPERTY FG_SOURCES)
source_group("Main\\Sources" FILES ${SOURCES})
add_executable(fgfs ${SOURCES} ${FG_SOURCES} ${FG_HEADERS} ${HEADERS})
+# disable sqlite3 dynamic lib support
+# this should really be a SOURCE property, but the way we handle
+# Fcomponent sources is making that tricky
+add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
+
get_property(FG_LIBS GLOBAL PROPERTY FG_LIBS)
#message(STATUS "fg libs ${FG_LIBS}")
#message(STATUS "OSG libs ${OPENSCENEGRAPH_LIBRARIES}")
add_definitions(-DVG_API_EXPORT)
target_link_libraries(fgfs
+ ${SQLITE3_LIBRARY}
${SIMGEAR_LIBRARIES}
${OPENSCENEGRAPH_LIBRARIES}
${OPENGL_LIBRARIES}