33 lines
819 B
CMake
33 lines
819 B
CMake
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
|
project (moolticute-pass VERSION 0.1.0 LANGUAGES C)
|
|
|
|
include(GNUInstallDirs)
|
|
include(CTest)
|
|
enable_testing()
|
|
|
|
option(DOXYGEN "Also build the doxygen documentation" OFF)
|
|
|
|
find_package(Git)
|
|
find_package(Moolticute REQUIRED)
|
|
|
|
configure_file(${PROJECT_SOURCE_DIR}/src/config.h.in ${PROJECT_SOURCE_DIR}/src/config.h @ONLY)
|
|
|
|
|
|
add_executable(moolticute-pass
|
|
yaap/src/argparse.h
|
|
yaap/src/argparse.c
|
|
src/commands.h
|
|
src/get.c
|
|
src/info.c
|
|
src/ls.c
|
|
#src/x11_clipboard.c
|
|
#src/x11_clipboard.h
|
|
src/main.c
|
|
)
|
|
target_link_libraries(moolticute-pass moolticute)
|
|
|
|
target_include_directories(moolticute-pass
|
|
PRIVATE
|
|
src
|
|
)
|