forked from github/server
fix the inifile cli editor
This commit is contained in:
parent
a59fdf87cb
commit
e156a65779
|
@ -56,6 +56,7 @@ endif(TOLUA_FOUND)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
||||||
add_subdirectory (tolua)
|
add_subdirectory (tolua)
|
||||||
|
add_subdirectory (tools)
|
||||||
add_subdirectory (storage)
|
add_subdirectory (storage)
|
||||||
add_subdirectory (clibs)
|
add_subdirectory (clibs)
|
||||||
add_subdirectory (process)
|
add_subdirectory (process)
|
||||||
|
|
|
@ -6,7 +6,7 @@ inifile() {
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
if [ ! -e eressea.ini ]; then
|
if [ ! -e eressea.ini ]; then
|
||||||
cp conf/eressea.ini .
|
cp conf/eressea.ini .
|
||||||
$BUILD/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
$BUILD/tools/inifile eressea.ini add lua:paths lunit:scripts
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
#include <platform.h>
|
|
||||||
#include "base36.h"
|
#include "base36.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#define USE_STRTOL
|
#define USE_STRTOL
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
cmake_minimum_required(VERSION 2.9)
|
||||||
|
project (tools C)
|
||||||
|
|
||||||
|
add_executable(inifile inifile.c)
|
||||||
|
target_link_libraries(inifile ${IniParser_LIBRARIES})
|
||||||
|
target_include_directories (inifile PRIVATE ${IniParser_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
add_executable(gethash gethash.c)
|
||||||
|
|
||||||
|
add_executable(atoi36 atoi36.c ${CMAKE_SOURCE_DIR}/src/util/base36.c)
|
||||||
|
target_include_directories(atoi36 PRIVATE ${CMAKE_SOURCE_DIR}/src/util)
|
Loading…
Reference in New Issue