1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2025-04-04 23:31:48 +00:00
g810-led/app/CMakeLists.txt
2018-01-31 21:52:07 +01:00

21 lines
450 B
CMake

set(SOURCES
main.cpp
# utils.h
utils.cpp
# help.h
help.cpp
)
if(CMAKE_EXTRA_GENERATOR OR MSVC_IDE)
message(STATUS "Adding header files to project")
file(GLOB_RECURSE HEADERS "${INCLUDE_DIR}/*.h")
if(MSVC_IDE)
source_group("Header Files" FILES ${HEADERS})
endif()
list(APPEND SOURCES ${HEADERS})
endif()
add_executable(g810-led ${SOURCES})
target_link_libraries(g810-led PUBLIC libledkeyboard)