Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
José Pardo Madera
/
pag_practicas_2025
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
952b4498
authored
Sep 11, 2025
by
José Pardo Madera
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Commit inicial
parents
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
CMakeLists.txt
main.cpp
make.sh
CMakeLists.txt
0 → 100644
View file @
952b4498
cmake_minimum_required
(
VERSION 3.27
)
project
(
pr01
)
set
(
CMAKE_CXX_STANDARD 17
)
file
(
GLOB MY_FILES *.cpp
)
add_executable
(
${
PROJECT_NAME
}
${
MY_FILES
}
)
main.cpp
0 → 100644
View file @
952b4498
#include <iostream>
int
main
()
{
std
::
cout
<<
"Hello world!"
<<
std
::
endl
;
}
make.sh
0 → 100755
View file @
952b4498
#!/bin/bash
die
()
{
exit
1
}
PROJECT_NAME
=
pr01
cmake
-B
build/
.
cd
build
make
||
die
cp
${
PROJECT_NAME
}
..
cd
..
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment