File: CMakeLists.txt

package info (click to toggle)
fcitx5-lua 5.0.15-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 380 kB
  • sloc: cpp: 1,229; sh: 21; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
add_subdirectory(addon)

configure_file(testdir.h.in ${CMAKE_CURRENT_BINARY_DIR}/testdir.h @ONLY)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

add_executable(testlua testlua.cpp)
target_link_libraries(testlua Fcitx5::Core Fcitx5::Module::LuaAddonLoader Fcitx5::Module::TestFrontend
Fcitx5::Module::TestIM Pthread::Pthread)
add_dependencies(testlua luaaddonloader copy luaaddonloader.conf.in-fmt)
add_test(NAME testlua COMMAND testlua)