diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-02-22 20:41:12 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-02 23:00:23 +0900 |
| commit | b905a0a686e12e30801255b62accb573a8ced687 (patch) | |
| tree | cb5bcf51aee006bb24dd5921efcea0579897eed9 /src/modules/perlcore | |
| parent | e8b4f8d8a333edacf8a1dd0b90c8e69ebef6f0c6 (diff) | |
| download | kvirc-feat/cmake-conversion.tar.gz kvirc-feat/cmake-conversion.zip | |
Convert to cmake build systemfeat/cmake-conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/perlcore')
| -rw-r--r-- | src/modules/perlcore/CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/modules/perlcore/CMakeLists.txt b/src/modules/perlcore/CMakeLists.txt new file mode 100644 index 0000000..cf17d7c --- /dev/null +++ b/src/modules/perlcore/CMakeLists.txt @@ -0,0 +1,25 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/include/${PROJECT_NAME} + ${PERL_INCLUDE_PATH} +) + + +##### kviperlcore + +add_custom_command( + OUTPUT xs.inc + COMMAND xsubpp + ARGS -noversioncheck -C++ -noprototypes -output xs.inc ${CMAKE_CURRENT_SOURCE_DIR}/KVIrc.xs +) + +add_custom_target( _xs.inc DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/xs.inc ) + +tde_add_kpart( libkviperlcore AUTOMOC + SOURCES libkviperlcore.cpp + LINK kvirc-shared ${PERL_LIBRARY} + DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/modules + DEPENDENCIES _xs.inc +) |
