Stopped using GLOB in CMakeLists.txt
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Fetches all files for in the binary #
|
||||
file (GLOB LexerSources src/*.cpp inc/*.h)
|
||||
add_library(Lexer STATIC ${LexerSources})
|
||||
# Fetches all .cpp files for the binary #
|
||||
add_library(Lexer STATIC
|
||||
src/Lexer.cpp
|
||||
src/Token.cpp
|
||||
)
|
||||
|
||||
# Adds the headers in the current directory #
|
||||
target_include_directories (
|
||||
|
||||
Reference in New Issue
Block a user