|
|
|
include_directories(lib/src)
|
|
|
|
set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE})
|
|
|
|
add_subdirectory(lib)
|
|
add_subdirectory(ast)
|
|
add_subdirectory(code-gen)
|
|
|
|
file(
|
|
GLOB_RECURSE
|
|
sources_files
|
|
src/*
|
|
)
|
|
|
|
add_executable(Blang ${sources_files})
|
|
|
|
target_link_libraries(
|
|
Blang
|
|
libblang
|
|
)
|
|
|