forked from teamnwah/openmw-tes3coop
Moved esmtool to apps/
parent
5ff9344a87
commit
f87810ce7a
@ -0,0 +1,21 @@
|
||||
set(ESMTOOL
|
||||
esmtool_cmd.c
|
||||
esmtool_cmd.h
|
||||
esmtool.cpp
|
||||
)
|
||||
source_group(apps\\esmtool FILES ${ESMTOOL})
|
||||
|
||||
# Main executable
|
||||
add_executable(esmtool
|
||||
${ESMTOOL}
|
||||
${MISC} ${MISC_HEADER}
|
||||
)
|
||||
|
||||
target_link_libraries(esmtool
|
||||
${Boost_LIBRARIES}
|
||||
)
|
||||
|
||||
#if (APPLE)
|
||||
# find_library(CARBON_FRAMEWORK Carbon)
|
||||
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
|
||||
#endif (APPLE)
|
@ -0,0 +1,5 @@
|
||||
esmtool_cmd.c: esmtool.ggo
|
||||
gengetopt < esmtool.ggo
|
||||
|
||||
clean:
|
||||
rm esmtool_cmd.c esmtool_cmd.h
|
@ -1,5 +1,5 @@
|
||||
#include "../esm_reader.hpp"
|
||||
#include "../records.hpp"
|
||||
#include <components/esm/esm_reader.hpp>
|
||||
#include <components/esm/records.hpp>
|
||||
|
||||
#include "esmtool_cmd.h"
|
||||
|
@ -1,10 +0,0 @@
|
||||
all: esmtool
|
||||
|
||||
esmtool: esmtool.cpp ../esm_reader.hpp ../records.hpp esmtool_cmd.c
|
||||
g++ esmtool.cpp ../../tools/stringops.cpp esmtool_cmd.c -o $@
|
||||
|
||||
esmtool_cmd.c: esmtool.ggo
|
||||
gengetopt < esmtool.ggo
|
||||
|
||||
clean:
|
||||
rm *_test esmtool
|
Loading…
Reference in New Issue