Fixing folder capitlisation [1/2]
This commit is contained in:
18
temp/CMakeLists.txt
Normal file
18
temp/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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 (
|
||||
Lexer PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
)
|
||||
|
||||
# Links to the all needed internal libraries #
|
||||
target_link_libraries(Lexer PRIVATE PashaBibko-UTIL)
|
||||
|
||||
# Creates the precompiled header for the binary #
|
||||
target_include_directories(Lexer PRIVATE ${CMAKE_SOURCE_DIR}/external/util)
|
||||
target_precompile_headers(Lexer PRIVATE ${CMAKE_SOURCE_DIR}/external/util/Util.h)
|
||||
Reference in New Issue
Block a user