# CMakeList.txt : CMake project for DlangVM, include source and define # project specific logic here. # # Add source to this project's executable. include_directories(dlang/ includes/) add_executable (DlangVM "entry.cpp" "dlang/src/compiler.cpp" "dlang/src/lexer.cpp" "dlang/src/parser.cpp" "dlang/src/vm.cpp") if (CMAKE_VERSION VERSION_GREATER 3.12) set_property(TARGET DlangVM PROPERTY CXX_STANDARD 20) endif() if(WIN32) target_link_libraries(DlangVM PRIVATE ws2_32) endif() # TODO: Add tests and install targets if needed.