Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27036419
AddROSATools.cmake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
739 B
Referenced Files
None
Subscribers
None
AddROSATools.cmake
View Options
# Use this to set include paths which needs to be used by any target depending
# on a library. After the library name, you pass any number of paths.
macro
(
ROSA_set_external_include_reqs
library
)
set
(
${
library
}
_EXTERNAL_INCLUDES
${
ARGN
}
CACHE
INTERNAL
"Externally required include paths for ${library}"
)
endmacro
()
# Use this for a target to register library dependencies.
# It also adds external include paths if the library have set any.
macro
(
ROSA_add_library_dependencies
target
dependencies
)
foreach
(
dependency
${
dependencies
}
)
target_link_libraries
(
${
target
}
${
dependency
}
)
if
(
${
dependency
}
_EXTERNAL_INCLUDES
)
include_directories
(
${
${dependency
}
_EXTERNAL_INCLUDES}
)
endif
()
endforeach
()
endmacro
()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 27, 7:56 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
407447
Default Alt Text
AddROSATools.cmake (739 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline