From e76ed47f1cf0020a842dec31247ad1e4b85b3e63 Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Sun, 7 Aug 2016 23:07:28 +0100 Subject: [PATCH] Remove scripttool --- .travis.yml | 2 +- CMakeLists.txt | 4 - scripttool/CMakeLists.txt | 10 --- scripttool/README.md | 3 - scripttool/main.cpp | 168 -------------------------------------- 5 files changed, 1 insertion(+), 186 deletions(-) delete mode 100644 scripttool/CMakeLists.txt delete mode 100644 scripttool/README.md delete mode 100644 scripttool/main.cpp diff --git a/.travis.yml b/.travis.yml index 9677b0cb..afef947f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ git: script: - mkdir build - cd build - - cmake .. -DBUILD_TESTS=1 -DTESTS_NODATA=1 -DBUILD_VIEWER=1 -DBUILD_SCRIPT_TOOL=1 && make + - cmake .. -DBUILD_TESTS=1 -DTESTS_NODATA=1 -DBUILD_VIEWER=1 && make - tests/run_tests notifications: email: false diff --git a/CMakeLists.txt b/CMakeLists.txt index f6fb10fe..9caa4a68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,6 @@ set(RW_VERBOSE_DEBUG_MESSAGES 1 CACHE BOOL "Print verbose debugging messages") # Optional components option(BUILD_TESTS "Build test suite") option(BUILD_VIEWER "Build GUI data viewer") -option(BUILD_SCRIPT_TOOL "Build script decompiler tool") # Compile-time Options & Features option(ENABLE_SCRIPT_DEBUG "Enable verbose script execution") @@ -112,9 +111,6 @@ add_subdirectory(rwlib) add_subdirectory(rwengine) add_subdirectory(rwgame) -IF(${BUILD_SCRIPT_TOOL}) - add_subdirectory(scripttool) -ENDIF() IF(${BUILD_VIEWER}) add_subdirectory(rwviewer) ENDIF() diff --git a/scripttool/CMakeLists.txt b/scripttool/CMakeLists.txt deleted file mode 100644 index 1dae2dfb..00000000 --- a/scripttool/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -SET(SCRIPTTOOL scripttool) -add_executable(${SCRIPTTOOL} main.cpp) - -target_link_libraries(${SCRIPTTOOL} -rwengine -${OPENGL_LIBRARIES} -${BULLET_LIBRARIES} -${SDL2_LIBRARY}) - -install(TARGETS ${SCRIPTTOOL} RUNTIME DESTINATION "${BIN_DIR}") diff --git a/scripttool/README.md b/scripttool/README.md deleted file mode 100644 index fb1f1413..00000000 --- a/scripttool/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Scripttool - -Decompiles SCM files into their instructions using the same call tables as the game itself. \ No newline at end of file diff --git a/scripttool/main.cpp b/scripttool/main.cpp deleted file mode 100644 index 08753768..00000000 --- a/scripttool/main.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include -#include - -#include