diff options
Diffstat (limited to 'src/prc1/CMakeLists.txt')
| -rw-r--r-- | src/prc1/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prc1/CMakeLists.txt b/src/prc1/CMakeLists.txt index f5dfa86..82d670d 100644 --- a/src/prc1/CMakeLists.txt +++ b/src/prc1/CMakeLists.txt @@ -17,7 +17,9 @@ add_executable(prc1 lit.c lk.c prc1.c + reset.c set.c + sym.c parse.c pop.c pr.c @@ -33,10 +35,12 @@ add_executable(prc1 ws.c ) +target_include_directories(prc1 PRIVATE ${CMAKE_CURRENT_LIST_DIR}) target_compile_options(prc1 PRIVATE -g -Wall -pedantic) set_target_properties(prc1 PROPERTIES C_STANDARD 99 C_EXTENSIONS OFF) if(CMAKE_BUILD_TYPE STREQUAL "Debug") target_compile_options(prc1 PRIVATE -Og) endif() +add_subdirectory(cgen) include(GNUInstallDirs) install(TARGETS prc1 DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}) |
