inital commit
This commit is contained in:
1 parent
e9773c9161
commit
e8b8565773
36 files changed
+40468
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user