Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Double Trouble
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Johan Solsvik
Double Trouble
Commits
104e7a8b
Commit
104e7a8b
authored
4 years ago
by
Jonas Johan Solsvik
Browse files
Options
Downloads
Patches
Plain Diff
add make command
parent
15bf1297
No related branches found
No related tags found
1 merge request
!1
Fix #6, #7 and #8 - Open window, draw and move circle + collsion example
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
Makefile
+8
-0
8 additions, 0 deletions
Makefile
README.md
+9
-1
9 additions, 1 deletion
README.md
run.sh
+7
-0
7 additions, 0 deletions
run.sh
src/main.cpp
+7
-0
7 additions, 0 deletions
src/main.cpp
with
33 additions
and
2 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
104e7a8b
build/
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
1
View file @
104e7a8b
project
(
sfml-samp
le
)
project
(
double-troub
le
)
cmake_minimum_required
(
VERSION 3.16.3 FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.16.3 FATAL_ERROR
)
set
(
SRCDIR
"
${
CMAKE_SOURCE_DIR
}
/src"
)
set
(
SRCDIR
"
${
CMAKE_SOURCE_DIR
}
/src"
)
...
...
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
8
−
0
View file @
104e7a8b
run
:
build
./build/double-trouble
build
:
$(shell find src -type f)
mkdir
-p
build/
;
cmake
-S
.
-B
build/
make
-C
build/
;
This diff is collapsed.
Click to expand it.
README.md
+
9
−
1
View file @
104e7a8b
# Double Trouble
# Double Trouble
A IMT3601 Games Programming project by Jonas and Viktor
A IMT3601 Games Programming project by Jonas and Viktor
## Getting started
To run the game run:
```
make
```
This diff is collapsed.
Click to expand it.
run.sh
0 → 100755
+
7
−
0
View file @
104e7a8b
mkdir
build
cd
build
cmake ..
make
cd
-
./build/double-trouble
This diff is collapsed.
Click to expand it.
src/main.cpp
0 → 100644
+
7
−
0
View file @
104e7a8b
#include
<cstdio>
int
main
()
{
std
::
puts
(
"Hello world
\n
"
);
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment