G Programming Language
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
363 B

cmake_minimum_required(VERSION 3.14)
project(G VERSION 0.2.0 LANGUAGES C)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
add_compile_definitions(PROJECT_VERSION="${PROJECT_VERSION}")
find_package(LLVM REQUIRED)
file(GLOB SRC ${PROJECT_SOURCE_DIR}/src/*.c ${PROJECT_SOURCE_DIR}/src/**/*.c)
add_executable(g ${SRC})
target_link_libraries(g LLVM)