18 lines
No EOL
479 B
CMake
18 lines
No EOL
479 B
CMake
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) |