Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 9 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
# xmake-related files
.xmake/*
.vs/*
.vscode/*
CMakeLists.txt
Makefile
vs*/*
vsxmake*/*
build
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Engine� (or Engine Squared)

## How to run the project

### Requirements

- [Xmake](https://xmake.io/#/)
- [Visual Studio](https://visualstudio.microsoft.com/)

### Running

1. Open repository using [Visual Studio](https://visualstudio.microsoft.com/)
1. Execute `xmake project -k vsxmake -m "debug,release"` inside repository folder using "Developer PowerShell" tool
2. Open previously created VS Solution using [Visual Studio](https://visualstudio.microsoft.com/) (/vsxmake2022/EngineSquared.sln)
3. (Optional?) Install Xmake VS extension
4. Build the Solution by right clicking on the Solution and building it
6 changes: 6 additions & 0 deletions src/hw.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <iostream>

void hw(void)
{
std::cout << "Hello World!" << std::endl;
}
3 changes: 3 additions & 0 deletions src/hw.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once

void hw(void);
10 changes: 10 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
add_rules("mode.debug", "mode.release")
add_requires("entt")

target("EngineSquared")
set_kind("static")
add_files("src/*.cpp")
add_files("src/**/*.cpp")
set_policy("build.warning", true)
add_packages("entt")
set_languages("cxx20")