summaryrefslogtreecommitdiffstats
path: root/generators/boostpython/CMakeLists.txt
blob: 00e7915b5a7860e9431d7a11a8a8749493111fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
project(boostpython)

set(boostpython_generator_SRC
boostpythongenerator.cpp
convertergenerator.cpp
cppgenerator.cpp
hppgenerator.cpp
boostpython.cpp
)

add_executable(boostpythongenerator main.cpp)
target_link_libraries(boostpythongenerator ${QT_QTCORE_LIBRARY})

add_library(boostpython_generator SHARED ${boostpython_generator_SRC})
target_link_libraries(boostpython_generator ${APIEXTRACTOR_LIBRARY} ${QT_QTCORE_LIBRARY} genrunner)

install(TARGETS boostpython_generator DESTINATION ${LIB_INSTALL_DIR})
install(TARGETS boostpythongenerator DESTINATION bin)