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.
cmkr/CMakeLists.txt

41 lines
555 B

# This file was generated automatically by cmkr.
cmake_minimum_required(VERSION 3.14)
4 years ago
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
project(cmkr VERSION 0.1.0)
4 years ago
set(CMKRLIB_SOURCES
4 years ago
src/cmake.cpp
src/gen.cpp
src/help.cpp
src/build.cpp
src/error.cpp
)
4 years ago
add_library(cmkrlib STATIC ${CMKRLIB_SOURCES})
4 years ago
target_include_directories(cmkrlib PUBLIC
4 years ago
include
4 years ago
vendor
)
4 years ago
target_compile_features(cmkrlib PUBLIC
4 years ago
cxx_std_17
)
4 years ago
set(CMKR_SOURCES
4 years ago
src/main.cpp
src/args.cpp
4 years ago
)
add_executable(cmkr ${CMKR_SOURCES})
target_link_libraries(cmkr PUBLIC
4 years ago
cmkrlib
4 years ago
)