Added dependecy output to Bindings/BindingsDependencies.txt
This commit is contained in:
parent
b2fd91ee6b
commit
45bc1ff033
1
.gitignore
vendored
1
.gitignore
vendored
@ -57,6 +57,7 @@ install_mainfest.txt
|
|||||||
src/MCServer
|
src/MCServer
|
||||||
lib/tolua++/tolua
|
lib/tolua++/tolua
|
||||||
src/Bindings/Bindings.*
|
src/Bindings/Bindings.*
|
||||||
|
src/Bindings/BindingsDependecies.txt
|
||||||
MCServer.dir/
|
MCServer.dir/
|
||||||
|
|
||||||
#win32 cmake stuff
|
#win32 cmake stuff
|
||||||
|
@ -94,6 +94,13 @@ if (NOT MSVC)
|
|||||||
|
|
||||||
target_link_libraries(Bindings lua sqlite tolualib)
|
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")
|
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "Bindings.cpp Bindings.h")
|
||||||
|
|
||||||
foreach(folder ${FOLDERS})
|
foreach(folder ${FOLDERS})
|
||||||
|
Loading…
Reference in New Issue
Block a user