polybar-dwm/src/CMakeLists.txt
Michael Carlberg 52335d4f63 cmake: Cleanup
2016-06-24 00:26:08 +02:00

61 lines
1.2 KiB
CMake

if(ENABLE_ALSA)
set(FILES_ALSA
"src/interfaces/alsa.cpp"
"src/modules/volume.cpp")
endif()
if(ENABLE_MPD)
set(FILES_MPD
"src/interfaces/mpd.cpp"
"src/modules/mpd.cpp")
endif()
if(ENABLE_NETWORK)
set(FILES_NETWORK
"src/interfaces/net.cpp"
"src/modules/network.cpp")
endif()
if(ENABLE_I3)
set(FILES_I3 "src/modules/i3.cpp")
endif()
set(FILES
${FILES_ALSA}
${FILES_I3}
${FILES_MPD}
${FILES_NETWORK}
"src/drawtypes/animation.cpp"
"src/drawtypes/bar.cpp"
"src/drawtypes/icon.cpp"
"src/drawtypes/label.cpp"
"src/drawtypes/ramp.cpp"
"src/modules/backlight.cpp"
"src/modules/base.cpp"
"src/modules/battery.cpp"
"src/modules/bspwm.cpp"
"src/modules/counter.cpp"
"src/modules/cpu.cpp"
"src/modules/date.cpp"
"src/modules/memory.cpp"
"src/modules/menu.cpp"
"src/modules/script.cpp"
"src/modules/text.cpp"
"src/services/builder.cpp"
"src/services/command.cpp"
"src/services/event_throttler.cpp"
"src/services/inotify.cpp"
"src/services/logger.cpp"
"src/utils/cli.cpp"
"src/utils/config.cpp"
"src/utils/io.cpp"
"src/utils/proc.cpp"
"src/utils/string.cpp"
"src/utils/xcb.cpp"
"src/bar.cpp"
"src/eventloop.cpp"
"src/lemonbuddy.cpp"
"src/registry.cpp"
PARENT_SCOPE
)