Moved templates to separate library
This commit is contained in:
parent
c1befc5a76
commit
08b3d0b887
|
@ -12,23 +12,26 @@ add_library(lxs
|
|||
driver.cpp
|
||||
RegexLexer.cpp
|
||||
re.cpp
|
||||
template.cpp
|
||||
)
|
||||
|
||||
add_library(lxsinput
|
||||
inputparser.cpp
|
||||
)
|
||||
|
||||
add_library(templ
|
||||
template.cpp
|
||||
)
|
||||
|
||||
add_executable(Lexesis
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(Lexesis Lexesis-backends lxs lxsinput mstch::mstch)
|
||||
target_link_libraries(Lexesis Lexesis-backends lxs templ lxsinput mstch::mstch)
|
||||
|
||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
add_executable(Lexesis-test
|
||||
test.cpp
|
||||
)
|
||||
target_link_libraries(Lexesis-test Lexesis-backends lxs lxsinput mstch::mstch)
|
||||
target_link_libraries(Lexesis-test Lexesis-backends lxs templ lxsinput mstch::mstch)
|
||||
endif()
|
||||
|
||||
install(TARGETS Lexesis
|
||||
|
|
Loading…
Reference in New Issue