forked from github/server
Make this stuff compile on MSVC
Fix some missing headers I have to redo the tests
This commit is contained in:
parent
a5a92fc9b4
commit
dd30c9a621
|
@ -5,6 +5,8 @@ set (CORE_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "Eressea Core h
|
|||
|
||||
find_package (Lua51 REQUIRED)
|
||||
find_package (LibXml2 REQUIRED)
|
||||
find_package (Curses REQUIRED)
|
||||
find_package (SQLite3 REQUIRED)
|
||||
|
||||
include_directories (${CORE_INCLUDE_DIR})
|
||||
include_directories (${CRITBIT_INCLUDE_DIR})
|
||||
|
@ -139,7 +141,6 @@ add_library(${PROJECT_NAME}
|
|||
modules/wormhole.c
|
||||
modules/xecmd.c
|
||||
modules/xmas.c
|
||||
tests.c
|
||||
tests_test.c
|
||||
triggers/changefaction.c
|
||||
triggers/changerace.c
|
||||
|
|
|
@ -27,6 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "version.h"
|
||||
|
||||
#include <util/attrib.h>
|
||||
#include <util/bsdstring.h>
|
||||
#include <util/language.h>
|
||||
#include <util/log.h>
|
||||
#include <quicklist.h>
|
||||
|
|
|
@ -36,6 +36,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
/* util includes */
|
||||
#include <util/attrib.h>
|
||||
#include <util/base36.h>
|
||||
#include <util/bsdstring.h>
|
||||
#include <util/event.h>
|
||||
#include <util/goodies.h>
|
||||
#include <util/lists.h>
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
#include <kernel/types.h>
|
||||
|
||||
#include "pool.h"
|
||||
#include "magic.h"
|
||||
#include "unit.h"
|
||||
#include "item.h"
|
||||
#include "region.h"
|
||||
#include "skill.h"
|
||||
|
||||
#include <CuTest.h>
|
||||
#include <tests.h>
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <util/language.h>
|
||||
|
||||
#include <CuTest.h>
|
||||
#include <tests.h>
|
||||
|
||||
static void test_recreate_world(CuTest * tc)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue