Skip to content

Commit

Permalink
Add cmdline_static interface
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Aug 23, 2013
1 parent 7a45b84 commit bbbd88e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -654,6 +654,10 @@ IF (MatlabStatic)
#add_subdirectory(src/interfaces/matlab_static)
ENDIF()

IF (CmdLineStatic)
add_subdirectory(src/interfaces/cmdline_static)
ENDIF()

IF (SVMLight)
MESSAGE(STATUS ${SVMLightWarning})
ENDIF()
Expand Down
4 changes: 4 additions & 0 deletions src/interfaces/cmdline_static/CMakeLists.txt
@@ -0,0 +1,4 @@
include_directories(${CMAKE_SOURCE_DIR}/src)

add_executable(shogun_cmd cmdline.cpp CmdLineInterface.cpp)
target_link_libraries(shogun_cmd shogun)
2 changes: 1 addition & 1 deletion src/interfaces/cmdline_static/CmdLineInterface.cpp
Expand Up @@ -4,7 +4,7 @@
#include <shogun/lib/ShogunException.h>
#include <shogun/io/SGIO.h>
#include <shogun/io/AsciiFile.h>
#include "ui/SGInterface.h"
#include <shogun/ui/SGInterface.h>

#ifdef HAVE_READLINE
#include <readline/readline.h>
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/cmdline_static/CmdLineInterface.h
Expand Up @@ -4,7 +4,7 @@
#include <shogun/base/DynArray.h>
#include <shogun/io/SGIO.h>

#include "ui/SGInterface.h"
#include <shogun/ui/SGInterface.h>

namespace shogun
{
Expand Down

0 comments on commit bbbd88e

Please sign in to comment.