mirror of
https://github.com/autc04/Retro68.git
synced 2024-10-07 02:00:42 +00:00
remove HelloWorld example from Console subdirectory
This commit is contained in:
parent
0934b00715
commit
07c4b6c968
@ -25,6 +25,7 @@ add_subdirectory(libretro)
|
||||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/libretro)
|
||||
|
||||
add_subdirectory(Console)
|
||||
add_subdirectory(HelloWorld)
|
||||
add_subdirectory(TestApps)
|
||||
add_subdirectory(Raytracer)
|
||||
add_subdirectory(Launcher)
|
||||
|
@ -22,13 +22,8 @@ add_library(RetroConsole
|
||||
Console.cc
|
||||
Console.h
|
||||
MacUtils.h
|
||||
InitConsole.cc
|
||||
InitConsole.cc
|
||||
)
|
||||
|
||||
install(TARGETS RetroConsole DESTINATION lib)
|
||||
|
||||
add_application(HelloWorld
|
||||
hello.c
|
||||
CONSOLE
|
||||
)
|
||||
|
||||
|
@ -1,28 +0,0 @@
|
||||
/*
|
||||
Copyright 2014 Wolfgang Thaller.
|
||||
|
||||
This file is part of Retro68.
|
||||
|
||||
Retro68 is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Retro68 is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Retro68. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
printf("Hello, world.\n");
|
||||
printf("\n(Press Return)\n");
|
||||
getchar();
|
||||
return 0;
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
# cmake \
|
||||
# -DCMAKE_TOOLCHAIN_FILE=$SRC/retro68.toolchain.cmake \
|
||||
# -DRETRO68_ROOT=$PREFIX \
|
||||
# -DCMAKE_BUILD_TYPE=Release
|
||||
# HOW TO BUILD USING CMAKE as a standalone project:
|
||||
# mkdir build
|
||||
# cd build
|
||||
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/cmake/retro68.toolchain.cmake
|
||||
# make
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
|
@ -13,3 +13,7 @@ HelloWorld.bin HelloWorld.APPL HelloWorld.dsk: HelloWorld.flt
|
||||
|
||||
HelloWorld.flt: hello.o
|
||||
$(CXX) $< -o $@ $(LDFLAGS) # C++ used for linking because RetroConsole needs it
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f HelloWorld.bin HelloWorld.APPL HelloWorld.dsk HelloWorld.flt HelloWorld.flt.gdb hello.o
|
||||
|
Loading…
Reference in New Issue
Block a user