Fixed "Dependency" typos
This commit is contained in:
parent
b41c8b5de7
commit
1d68469718
2
.gitignore
vendored
2
.gitignore
vendored
@ -64,7 +64,7 @@ install_mainfest.txt
|
|||||||
src/MCServer
|
src/MCServer
|
||||||
lib/tolua++/tolua
|
lib/tolua++/tolua
|
||||||
src/Bindings/Bindings.*
|
src/Bindings/Bindings.*
|
||||||
src/Bindings/BindingDependecies.txt
|
src/Bindings/BindingDependencies.txt
|
||||||
MCServer.dir/
|
MCServer.dir/
|
||||||
src/AllFiles.lst
|
src/AllFiles.lst
|
||||||
|
|
||||||
|
@ -125,8 +125,8 @@ if (NOT MSVC)
|
|||||||
DEPENDS ${BINDING_DEPENDENCIES}
|
DEPENDS ${BINDING_DEPENDENCIES}
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
set_source_files_properties(Bindings/Bindings.cpp PROPERTIES GENERATED TRUE)
|
set_source_files_properties(${CMAKE_SOURCE_DIR}/src/Bindings/Bindings.cpp PROPERTIES GENERATED TRUE)
|
||||||
set_source_files_properties(Bindings/Bindings.h PROPERTIES GENERATED TRUE)
|
set_source_files_properties(${CMAKE_SOURCE_DIR}/src/Bindings/Bindings.h PROPERTIES GENERATED TRUE)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_library(Bindings ${SRCS} ${HDRS})
|
add_library(Bindings ${SRCS} ${HDRS})
|
||||||
|
@ -151,10 +151,10 @@ if (NOT MSVC)
|
|||||||
get_directory_property(BINDING_DEPENDENCIES DIRECTORY "Bindings" DEFINITION BINDING_DEPENDENCIES)
|
get_directory_property(BINDING_DEPENDENCIES DIRECTORY "Bindings" DEFINITION BINDING_DEPENDENCIES)
|
||||||
|
|
||||||
#clear file
|
#clear file
|
||||||
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt)
|
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependencies.txt)
|
||||||
foreach(dependecy ${BINDING_DEPENDECIES})
|
foreach(dependency ${BINDING_DEPENDENCIES})
|
||||||
#write each dependecy on a seperate line
|
#write each dependency on a seperate line
|
||||||
file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt "${dependecy}\n")
|
file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependencies.txt "${dependency}\n")
|
||||||
endforeach()
|
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")
|
||||||
|
Loading…
Reference in New Issue
Block a user