Initial commit
This commit is contained in:
13
Lexer/CMakeLists.txt
Normal file
13
Lexer/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
# Fetches all files for in the binary #
|
||||
file (GLOB LexerSources src/*.cpp inc/*.h)
|
||||
|
||||
add_library(Lexer STATIC ${LexerSources})
|
||||
|
||||
target_include_directories (
|
||||
Lexer PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
)
|
||||
|
||||
# Creates the precompiled header for the binary #
|
||||
target_include_directories(Lexer PRIVATE ${CMAKE_SOURCE_DIR}/Common)
|
||||
target_precompile_headers(Lexer PRIVATE ${CMAKE_SOURCE_DIR}/Common/LXC.h)
|
||||
Reference in New Issue
Block a user