Commit e5f5e19b authored by Victor Yacovlev's avatar Victor Yacovlev

Updated project generation to actual project structure

parent de3a4985
......@@ -3613,7 +3613,7 @@ def create_cmakelists_txt(module, json_file_name, target_dir=""):
substitutions = {
"projectName": module.get_module_cpp_namespace(),
"moduleFileName": module.get_module_cpp_class_name().lower(),
"actorName": module.name
"actorName": module.name.data["ascii"]
}
data = _render_template(r"""
project($projectName)
......@@ -3633,8 +3633,6 @@ set(MOC_HEADERS
kumir2_wrap_cpp(MOC_SOURCES ${MOC_HEADERS})
handleTranslation($specFileName)
kumir2_add_actor(
NAME $actorName
SOURCES ${SOURCES} ${MOC_SOURCES}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment