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 22:02:20 +01:00

19 lines
431 B
CMake

set(SOURCES
main.cpp
utils.cpp
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(ledkeyboard ${SOURCES})
target_link_libraries(ledkeyboard PUBLIC libledkeyboard)