1 ADD_SUBDIRECTORY( core )
2 ADD_SUBDIRECTORY( plugins )
3 ADD_SUBDIRECTORY( override )
4 ADD_SUBDIRECTORY( GUIScripts )
6 ADD_EXECUTABLE(gemrb GemRB.cpp )
7 SET_TARGET_PROPERTIES(gemrb PROPERTIES INSTALL_RPATH ${LIB_DIR})
9 TARGET_LINK_LIBRARIES(gemrb gemrb_core)
12 TARGET_LINK_LIBRARIES(gemrb gemrb_core ${SDL_LIBRARY} ${SDL_MAIN_LIBRARY_PATH} ${COCOA_LIBRARY_PATH} ${DLD_LIBRARY_PATH})
14 TARGET_LINK_LIBRARIES(gemrb gemrb_core ${DLD_LIBRARY_PATH})
18 INSTALL( TARGETS gemrb DESTINATION ${BIN_DIR} )
19 INSTALL( FILES GemRB.cfg.sample GemRB.cfg.subdir.sample DESTINATION ${SYSCONF_DIR} )