forked from external/yambar
cmake: install header files
This commit is contained in:
parent
6f021b62de
commit
0e41c6560b
2 changed files with 21 additions and 1 deletions
|
@ -54,6 +54,7 @@ if (ENABLE_X11)
|
||||||
set_property(TARGET xcb-stuff PROPERTY POSITION_INDEPENDENT_CODE 1)
|
set_property(TARGET xcb-stuff PROPERTY POSITION_INDEPENDENT_CODE 1)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
install(FILES xcb.h DESTINATION include/f00bar)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (ENABLE_WAYLAND)
|
if (ENABLE_WAYLAND)
|
||||||
|
@ -64,8 +65,9 @@ endif ()
|
||||||
add_subdirectory(bar)
|
add_subdirectory(bar)
|
||||||
|
|
||||||
add_executable(f00bar
|
add_executable(f00bar
|
||||||
config.c config.h
|
color.h
|
||||||
config-verify.c config-verify.h
|
config-verify.c config-verify.h
|
||||||
|
config.c config.h
|
||||||
decoration.h
|
decoration.h
|
||||||
font.c font.h
|
font.c font.h
|
||||||
log.c log.h
|
log.c log.h
|
||||||
|
@ -74,6 +76,7 @@ add_executable(f00bar
|
||||||
particle.c particle.h
|
particle.c particle.h
|
||||||
plugin.c plugin.h
|
plugin.c plugin.h
|
||||||
tag.c tag.h
|
tag.c tag.h
|
||||||
|
tllist.h
|
||||||
yml.c yml.h
|
yml.c yml.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -90,6 +93,21 @@ set_property(TARGET f00bar PROPERTY
|
||||||
BUILD_RPATH "\$ORIGIN/modules;\$ORIGIN/particles;\$ORIGIN/decorations")
|
BUILD_RPATH "\$ORIGIN/modules;\$ORIGIN/particles;\$ORIGIN/decorations")
|
||||||
|
|
||||||
install(TARGETS f00bar DESTINATION bin)
|
install(TARGETS f00bar DESTINATION bin)
|
||||||
|
install(FILES
|
||||||
|
color.h
|
||||||
|
config.h
|
||||||
|
config-verify.h
|
||||||
|
decoration.h
|
||||||
|
font.h
|
||||||
|
log.h
|
||||||
|
module.h
|
||||||
|
particle.h
|
||||||
|
tag.h
|
||||||
|
tllist.h
|
||||||
|
yml.h
|
||||||
|
|
||||||
|
DESTINATION include/f00bar
|
||||||
|
)
|
||||||
|
|
||||||
set(enabled_modules "")
|
set(enabled_modules "")
|
||||||
set(enabled_particles "")
|
set(enabled_particles "")
|
||||||
|
|
|
@ -64,3 +64,5 @@ target_link_libraries(bar
|
||||||
$<$<BOOL:${ENABLE_WAYLAND}>:bar-wayland>
|
$<$<BOOL:${ENABLE_WAYLAND}>:bar-wayland>
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(FILES bar.h DESTINATION include/f00bar/bar)
|
||||||
|
|
Loading…
Add table
Reference in a new issue