Initial commit
This commit is contained in:
20
azeron-cli/CMakeLists.txt
Normal file
20
azeron-cli/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
# azeron-cli - Command-line tool for Azeron configuration
|
||||
|
||||
set(AZERON_CLI_SOURCES
|
||||
main.c
|
||||
commands.c
|
||||
utils.c
|
||||
)
|
||||
|
||||
add_executable(azeron-cli ${AZERON_CLI_SOURCES})
|
||||
|
||||
# Link libraries
|
||||
target_link_libraries(azeron-cli azeron ${LIBUSB_LIBRARIES} ${JSON_LIBRARIES})
|
||||
|
||||
# Include directories
|
||||
target_include_directories(azeron-cli PRIVATE ${CMAKE_SOURCE_DIR}/libazeron)
|
||||
|
||||
# Install executable
|
||||
install(TARGETS azeron-cli
|
||||
RUNTIME DESTINATION bin
|
||||
)
|
||||
Reference in New Issue
Block a user