Skip to content

Commit 3c19780

Browse files
committed
feat: Adopt cmake for project build system generation
1 parent e17a0ed commit 3c19780

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src/build/
1+
build/

CMakeList.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cmake_minimum_required(VERSION 3.28)
2+
3+
project(flasher_stub CXX)
4+
5+
# TODO https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
6+
7+
# The C++ standard is set based on xtensa-lx106-elf which is based on gcc 8.4
8+
add_library(project_options INTERFACE)
9+
target_compile_features(project_options INTERFACE gnu++17)
10+
11+
add_subdirectory(src)

src/CMakeFile.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)