Update src/CMakeLists.txt
This commit is contained in:
parent
3fb3570fa0
commit
dea1c40ad8
|
@ -41,9 +41,10 @@ endif ()
|
||||||
source_group("Include" FILES ${freekill_HEADERS})
|
source_group("Include" FILES ${freekill_HEADERS})
|
||||||
add_executable(FreeKill ${freekill_SRCS})
|
add_executable(FreeKill ${freekill_SRCS})
|
||||||
target_link_libraries(FreeKill ${LUA_LIB} ${SQLITE3_LIB} Qt5::Qml Qt5::Gui Qt5::Network Qt5::Multimedia)
|
target_link_libraries(FreeKill ${LUA_LIB} ${SQLITE3_LIB} Qt5::Qml Qt5::Gui Qt5::Network Qt5::Multimedia)
|
||||||
|
file(GLOB SWIG_FILES "${PROJECT_SOURCE_DIR}/src/swig/*.i")
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
OUTPUT ${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
||||||
DEPENDS ${PROJECT_SOURCE_DIR}/src/swig/*.i
|
DEPENDS ${SWIG_FILES}
|
||||||
COMMENT "Generating freekill-wrap.cxx"
|
COMMENT "Generating freekill-wrap.cxx"
|
||||||
COMMAND swig -c++ -lua -Wall -o
|
COMMAND swig -c++ -lua -Wall -o
|
||||||
${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
||||||
|
|
Loading…
Reference in New Issue