chore: add composite
parent
65d4126c7d
commit
4b82ca17ac
|
@ -0,0 +1,21 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
project(
|
||||
Composite
|
||||
VERSION 0.1.0
|
||||
LANGUAGES CXX)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../cmake")
|
||||
|
||||
include(ExportCompileCommands)
|
||||
include(sccache)
|
||||
|
||||
add_executable(Composite main.cpp)
|
||||
|
||||
target_compile_features(Composite PUBLIC cxx_std_20)
|
||||
|
||||
set_target_properties(
|
||||
Composite
|
||||
PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")
|
|
@ -0,0 +1 @@
|
|||
../scripts/bootstrap.sh
|
|
@ -0,0 +1 @@
|
|||
../scripts/build.sh
|
|
@ -0,0 +1,8 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
std::cout << "Composite" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue