Hi ,
I am having some issues in larger projects where I would like to import Urho3d using its cmake common module .
It seems it has some paths hard-coded like CoreData and Data are always expected one level above where I would like to be able to set them to the same level as my source files.
if (XCODE)
set (RESOURCE_FILES ${PROJECT_ROOT_DIR}/Bin/CoreData ${PROJECT_ROOT_DIR}/Bin/Data)
set_source_files_properties (${RESOURCE_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
list (APPEND SOURCE_FILES ${RESOURCE_FILES})
endif ()
I have also compiled Urho3D IOS static libraries to custom location which doesn’t play nice with the Urho3d common module. Is there any workaround at the moment to set custom location for the headers and libraries ?
I am not entirely sure as well how to fit these macros into larger project is there a way to expand them so that I can tweak them accordingly ?
[code]# Define target name
set (TARGET_NAME PorjectName)
Define source files
#define_source_files ()
Setup target with resource copying
setup_main_executable ()[/code]
Thanks in advance,
Alex