File tree 4 files changed +12
-10
lines changed
4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
21
+ - name : download dependencies
22
+ run : sudo apt-get update && sudo apt-get install -yq libglfw3 libglfw3-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev libxmu-dev libxi-dev libgl-dev libglew-dev
23
+
21
24
- name : Create Build Environment
22
25
# Some projects don't allow in-source building, so create a separate build directory
23
26
# We'll use this as our working directory for all subsequent commands
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.5)
2
2
3
- #********** CMAKE DECLARE AND FETCH MACRO ******
4
- include (FetchContent)
5
- FetchContent_Declare(cmake_declare_and_fetch
6
- GIT_REPOSITORY https://github.com/newdigate/cmake-declare-and -fetch.git
7
- GIT_TAG main
8
- )
9
- FetchContent_MakeAvailable(cmake_declare_and_fetch)
10
- include ("${FETCHCONTENT_BASE_DIR} /cmake_declare_and_fetch-src/DeclareAndFetchCMake.in" )
11
- #********** CMAKE DECLARE AND FETCH MACRO ******
3
+ include (cmake_declare_and_fetch.cmake.in)
12
4
13
5
DeclareAndFetch(teensy_x86_stubs https://github.com/newdigate/teensy-x86-stubs.git noinstall src)
14
6
DeclareAndFetch(teensy_gfx https://github.com/newdigate/teensy-gfx.git noinstall src)
Original file line number Diff line number Diff line change
1
+ include (FetchContent)
2
+ FetchContent_Declare(cmake_declare_and_fetch
3
+ GIT_REPOSITORY https://github.com/newdigate/cmake-declare-and -fetch.git
4
+ GIT_TAG main
5
+ )
6
+ FetchContent_MakeAvailable(cmake_declare_and_fetch)
7
+ include ("${FETCHCONTENT_BASE_DIR} /cmake_declare_and_fetch-src/DeclareAndFetchCMake.in" )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.5)
2
2
project (teensy_st7735_linux_extras_opengl CXX)
3
-
3
+ include (../../cmake_declare_and_fetch.cmake.in)
4
4
set (CMAKE_CXX_STANDARD 11)
5
5
6
6
add_subdirectory (src)
You can’t perform that action at this time.
0 commit comments