Moved Common to external git repo
Also changed namespace from LXC to PashaBibko::LXC
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Fetches all .cpp files for the binary #
|
||||
add_library(Parser STATIC
|
||||
src/Parser.cpp
|
||||
"inc/Parser.h")
|
||||
)
|
||||
|
||||
# Adds the headers in the current directory #
|
||||
target_include_directories (
|
||||
@@ -9,10 +9,11 @@ target_include_directories (
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
)
|
||||
|
||||
# Links to the Lexer and AST so it can use their data types #
|
||||
target_link_libraries(Parser PUBLIC Lexer)
|
||||
target_link_libraries(Parser PUBLIC AST)
|
||||
# Links to the all needed internal libraries #
|
||||
target_link_libraries(Parser PRIVATE PashaBibko-UTIL)
|
||||
target_link_libraries(Parser PRIVATE Lexer)
|
||||
target_link_libraries(Parser PRIVATE AST)
|
||||
|
||||
# Creates the precompiled header of the binary #
|
||||
target_include_directories(Parser PRIVATE ${CMAKE_SOURCE_DIR}/common)
|
||||
target_precompile_headers(Parser PRIVATE ${CMAKE_SOURCE_DIR}/common/LXC.h)
|
||||
target_include_directories(Parser PRIVATE ${CMAKE_SOURCE_DIR}/external/util)
|
||||
target_precompile_headers(Parser PRIVATE ${CMAKE_SOURCE_DIR}/external/util/Util.h)
|
||||
|
||||
Reference in New Issue
Block a user