Skip to content

Commit

Permalink
fixes for extremely experimantal llama.cpp integration (app_cmdline)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobke committed Sep 18, 2024
1 parent 00e55ac commit 9041a99
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# SUBDIRECTORIES
ADD_SUBDIRECTORY(kernel)
ADD_SUBDIRECTORY(plugins)
ADD_SUBDIRECTORY(ai_plugins)
# ADD_SUBDIRECTORY(ai_plugins)

# # INCLUDE_DIRECTORIES
# INCLUDE_DIRECTORIES( ${bengine_INCLUDES} )
2 changes: 1 addition & 1 deletion src/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ADD_SUBDIRECTORY(be_plugin_sdl)
# ADD_SUBDIRECTORY(be_plugin_app_attractors)
# ADD_SUBDIRECTORY(be_plugin_app_conway)
ADD_SUBDIRECTORY(be_plugin_app_cmdline)
ADD_SUBDIRECTORY(be_plugin_openai)
# ADD_SUBDIRECTORY(be_plugin_openai)

ADD_SUBDIRECTORY(be_plugin_opengl_modern)
ADD_SUBDIRECTORY(be_plugin_imgui)
Expand Down
21 changes: 21 additions & 0 deletions src/plugins/be_plugin_sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

SET(
plugin_SRCS
plugin.cpp
plugin.h
)

FIND_PACKAGE ( SDL )
IF (SDL_FOUND)
MESSAGE("SDL FOUND")
SET(bengine_LIBS ${bengine_LIBS} ${SDL_LIBRARY})
Include_Directories (${SDL_INCLUDE_DIR})
ADD_LIBRARY( be_plugin_sdl SHARED ${plugin_SRCS} )
TARGET_LINK_LIBRARIES( be_plugin_sdl be_base_entity_types ${SDL_LIBRARY} )

ELSE (SDL_FOUND)
MESSAGE("SDL NOT FOUND")
ENDIF (SDL_FOUND)



Loading

0 comments on commit 9041a99

Please sign in to comment.