Initial compiler entry.
This commit is contained in:
parent
a95439d419
commit
be0af2e6a7
7 changed files with 31 additions and 2 deletions
18
src/compiler/CMakeLists.txt
Normal file
18
src/compiler/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
list(APPEND compiler_HEADERS
|
||||
Lexer.h
|
||||
)
|
||||
|
||||
list(APPEND compiler_LIB_INCLUDES
|
||||
Lexer.cpp
|
||||
)
|
||||
|
||||
add_library(compiler SHARED ${compiler_LIB_INCLUDES} ${compiler_HEADERS})
|
||||
|
||||
target_include_directories(compiler PUBLIC
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
set_target_properties( compiler PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
|
||||
|
||||
target_link_libraries( compiler PUBLIC core)
|
||||
|
||||
set_property(TARGET compiler PROPERTY FOLDER src)
|
Loading…
Add table
Add a link
Reference in a new issue