mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
make use of katie_generate_obsolete() in katie_generate_public()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
91a8dacb98
commit
f0dd1a59a6
1 changed files with 1 additions and 2 deletions
|
@ -120,8 +120,7 @@ endmacro()
|
|||
macro(KATIE_GENERATE_PUBLIC PUBLIC_INCLUDES SUBDIR)
|
||||
foreach(pubheader ${PUBLIC_INCLUDES})
|
||||
string(TOLOWER ${pubheader} pubname)
|
||||
set(pubout "${CMAKE_BINARY_DIR}/include/${SUBDIR}/${pubheader}")
|
||||
katie_write_file("${pubout}" "#include <${pubname}.h>\n")
|
||||
katie_generate_obsolete("${pubheader}" "${SUBDIR}" "${pubname}.h")
|
||||
endforeach()
|
||||
|
||||
file(GLOB PUBLIC_LIST "${CMAKE_BINARY_DIR}/include/${SUBDIR}/*.h")
|
||||
|
|
Loading…
Add table
Reference in a new issue