Files
LXC/LXC/CMakeLists.txt
2025-07-22 22:25:20 +01:00

11 lines
388 B
CMake

# Creates the .exe from the single source file of the app #
add_executable(LXC LXC.cpp)
# Links the other binaries #
target_link_libraries(LXC PRIVATE Lexer)
target_link_libraries(LXC PRIVATE AST)
# Creates the precompiled header for the binary #
target_include_directories(LXC PRIVATE ${CMAKE_SOURCE_DIR}/common)
target_precompile_headers(LXC PRIVATE ${CMAKE_SOURCE_DIR}/common/LXC.h)