Files
LXC/LXC/CMakeLists.txt
2025-07-23 19:33:33 +01:00

12 lines
430 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)
target_link_libraries(LXC PRIVATE Parser)
# 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)