2016-04-22 21:46:31 +02:00
|
|
|
|
2016-11-28 07:29:13 +01:00
|
|
|
include_directories(lib/src)
|
2016-04-22 21:46:31 +02:00
|
|
|
|
|
|
|
set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE})
|
|
|
|
|
2016-11-28 07:29:13 +01:00
|
|
|
add_subdirectory(lib)
|
|
|
|
add_subdirectory(ast)
|
|
|
|
add_subdirectory(code-gen)
|
2016-11-24 12:15:08 +01:00
|
|
|
|
2016-04-22 21:46:31 +02:00
|
|
|
file(
|
|
|
|
GLOB_RECURSE
|
|
|
|
sources_files
|
|
|
|
src/*
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(Blang ${sources_files})
|
|
|
|
|
|
|
|
target_link_libraries(
|
2016-11-24 12:15:08 +01:00
|
|
|
Blang
|
|
|
|
libblang
|
2016-04-22 21:46:31 +02:00
|
|
|
)
|
|
|
|
|