summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-25 14:35:04 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-25 14:35:04 +0100
commit45bc1ff033271bc0c6a9e5931a00c554e065c375 (patch)
treeced6b47cdaae8dbf1d5eb8f21b18e97b492f48ee /src
parentReformatted Bindings Dependecies (diff)
downloadcuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar.gz
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar.bz2
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar.lz
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar.xz
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.tar.zst
cuberite-45bc1ff033271bc0c6a9e5931a00c554e065c375.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4058c1873..9d03a4ffa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -94,6 +94,13 @@ if (NOT MSVC)
target_link_libraries(Bindings lua sqlite tolualib)
+ #clear file
+ file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt)
+ foreach(dependecy ${BINDING_DEPENDECIES})
+ #write each dependecy on a seperate line
+ file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt "${dependecy}\n")
+ endforeach()
+
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "Bindings.cpp Bindings.h")
foreach(folder ${FOLDERS})