Skip to content

Commit

Permalink
#472 fix buildsystem CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Aug 27, 2021
1 parent 483f425 commit cbfafc7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,6 @@ jobs:
cmake ..
cmake --build .
- name: create examples build folder
working-directory: examples
run: mkdir cmake_build

- name: build examples
working-directory: examples/cmake_build
run: |
cmake ..
cmake --build .
buildsystem-meson:
timeout-minutes: 5
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Flecs is a fast and lightweight Entity Component System with a focus on high per

<img width="942" alt="Screen Shot 2020-12-02 at 1 28 04 AM" src="https://user-images.githubusercontent.com/9919222/100856510-5eebe000-3440-11eb-908e-f4844c335f37.png">

**This is a v3 alpha release! All of the usual QA is applied to master, but API changes may occur!**
For the last stable version, use [Flecs v2.4.6](https://github.com/SanderMertens/flecs/releases/tag/v2.4.6).

## What is an Entity Component System?
ECS (Entity Component System) is a design pattern used in games and simulations that produces fast and reusable code. Dynamic composition is a first-class citizen in ECS, and there is a strict separation between data and behavior. A framework is an Entity Component System if it:

Expand Down
2 changes: 2 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Help needed with updating the cmake file to new directory structure!

cmake_minimum_required(VERSION 3.5)

project(flecs_example LANGUAGES C CXX)
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ flecs_dep = declare_dependency(
include_directories : flecs_inc
)

helloworld_inc = include_directories('examples/c/01_hello_world/include')
helloworld_inc = include_directories('examples/c/hello_world/include')

helloworld_exe = executable('helloworld',
'examples/c/01_hello_world/src/main.c',
'examples/c/hello_world/src/main.c',
include_directories : helloworld_inc,
implicit_include_directories : false,
dependencies : flecs_dep
Expand Down

0 comments on commit cbfafc7

Please sign in to comment.