chore: add functor
This commit is contained in:
parent
68da0a4b6c
commit
26e9b317ec
4 changed files with 31 additions and 0 deletions
21
Functor/CMakeLists.txt
Normal file
21
Functor/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
|
project(
|
||||||
|
Functor
|
||||||
|
VERSION 0.1.0
|
||||||
|
LANGUAGES CXX)
|
||||||
|
|
||||||
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../cmake")
|
||||||
|
|
||||||
|
include(ExportCompileCommands)
|
||||||
|
include(sccache)
|
||||||
|
|
||||||
|
add_executable(Functor main.cpp)
|
||||||
|
|
||||||
|
target_compile_features(Functor PUBLIC cxx_std_20)
|
||||||
|
|
||||||
|
set_target_properties(
|
||||||
|
Functor
|
||||||
|
PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")
|
1
Functor/bootstrap.sh
Symbolic link
1
Functor/bootstrap.sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../scripts/bootstrap.sh
|
1
Functor/build.sh
Symbolic link
1
Functor/build.sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../scripts/build.sh
|
8
Functor/main.cpp
Normal file
8
Functor/main.cpp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
|
std::cout << "Functor" << std::endl;
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
Loading…
Reference in a new issue