Another template format #2

Merged
merged 3 commits into from Jul 31, 2016

Projects

None yet

2 participants

@Eiyeron
Contributor
Eiyeron commented Jul 31, 2016

I switched the whole basic template to a more structured one to allow:

  • using folders to store source files
  • allow an easier zero-to-vpk bulding pipeline (just have to edit some variables and the icons)
  • possibly add later .d (dependencies) to make rebuilding easier and better (it'd be very interesting to add this, allowing smart recompilation of some files if they depend of a header, structure, etc...).
@xyzz xyzz commented on an outdated diff Jul 31, 2016
hello_cpp_world/src/main.cpp
@@ -15,4 +16,6 @@ int main(int argc, char *argv[]) {
}
output << std::endl;
printf("%s\n", output.str().c_str());
+ sceKernelExitProcess(0);
@xyzz
xyzz Jul 31, 2016 Member

indentation

@xyzz xyzz commented on an outdated diff Jul 31, 2016
hello_cpp_world/src/test/test.c
@@ -0,0 +1,3 @@
+int f() {
@xyzz
xyzz Jul 31, 2016 Member

what's that for?

@xyzz xyzz commented on an outdated diff Jul 31, 2016
hello_world/src/test/test.c
@@ -0,0 +1,3 @@
+int f() {
@xyzz
xyzz Jul 31, 2016 Member

same as with other test.c file

@xyzz xyzz commented on an outdated diff Jul 31, 2016
hello_world/src/main.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello, world!\n");
+ sceKernelExitProcess(0);
@xyzz
xyzz Jul 31, 2016 Member

indentation

@xyzz xyzz merged commit 05f0eee into vitasdk:master Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment