1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
set(CODE_GENERATION_SOURCES
class.cpp
code.cpp
enum.cpp
file.cpp
function.cpp
include.cpp
license.cpp
membervariable.cpp
namer.cpp
printer.cpp
statemachine.cpp
style.cpp
typedef.cpp
variable.cpp
)
set(CODE_GENERATION_HEADERS
class.h
code.h
enum.h
file.h
function.h
include.h
kode_export.h
license.h
membervariable.h
namer.h
printer.h
statemachine.h
style.h
typedef.h
variable.h
)
add_library(kode STATIC
${CODE_GENERATION_SOURCES} ${CODE_GENERATION_HEADERS}
)
target_link_libraries(kode
Qt${QT_MAJOR_VERSION}::Core
)
target_include_directories(kode PUBLIC
Qt${QT_MAJOR_VERSION}::Core
)
set_target_properties(kode PROPERTIES OUTPUT_NAME "kode${kode_LIBRARY_QTID}")
|