Warning, /sdk/codevis/python/codegeneration/cmake/cmakelists_pkg.template is written in an unsupported language. File is not indexed.
0001 set(CMAKE_INCLUDE_CURRENT_DIR ON) 0002 0003 add_library({{ pkg.name() }} 0004 {% for component in pkg.children() %} {{component.name()}}.cpp 0005 {{component.name()}}.h 0006 {% endfor %} 0007 ) 0008 0009 target_include_directories({{ pkg.name() }} 0010 PUBLIC 0011 {% for dep in deps %}{% if dep.parent() %} ${CMAKE_CURRENT_SOURCE_DIR}/../../{{dep.parent().name()}}/{{dep.name()}} 0012 {%- else %} ${CMAKE_CURRENT_SOURCE_DIR}/../{{dep.name()}}{% endif %} 0013 {% endfor %} 0014 ) 0015 0016 target_link_libraries({{ pkg.name() }} 0017 {% for dep in deps %} {{dep.name()}} 0018 {% endfor %} 0019 )