Initial commit

Still need a LICENSE before I start development
This commit is contained in:
Azimer 2017-02-19 01:09:09 -06:00
parent 7529ba56a3
commit 9e70ed3bde
11 changed files with 141 additions and 15 deletions

17
.gitattributes vendored Normal file
View file

@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

64
.gitignore vendored
View file

@ -1,28 +1,62 @@
# Compiled Object files
*.slo
*.lo
# CMake files
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.conf

16
CMakelists.txt Normal file
View file

@ -0,0 +1,16 @@
#
# Apollo64
#
# Test CMakelists.txt to test/learn to use the new environment
#
project("Apollo64" C CXX)
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
add_executable(Apollo64 source/main.cc
source/uimain.cc)

3
bin/README.md Normal file
View file

@ -0,0 +1,3 @@
bin Folder
Contains the build output and assets necessary to run the application.

3
bin/plugin/README.md Normal file
View file

@ -0,0 +1,3 @@
bin/plugin Folder
Contains the plugins

6
build.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
cd build
cmake -G "Unix Makefiles" ..
make
cd ..
echo "The executable is placed in the bin folder"

3
build/README.md Normal file
View file

@ -0,0 +1,3 @@
build Folder
Contains the build intermediate output necessary to build the application.

3
source/README.md Normal file
View file

@ -0,0 +1,3 @@
source Folder
Contains the source code needed to build the application.

13
source/UIMain.cc Normal file
View file

@ -0,0 +1,13 @@
#include <iostream>
#include "UIMain.h"
UIMain::UIMain()
{
std::cout << "UIMain default constructor" << std::endl;
}
UIMain::~UIMain()
{
std::cout << "UIMain default deconstructor" << std::endl;
}

13
source/UIMain.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef __UIMAIN_H__
#define __UIMAIN_H__
/*
* Example class to test build environment
*/
class UIMain
{
public:
UIMain();
~UIMain();
};
#endif // __UIMAIN_H__

15
source/main.cc Normal file
View file

@ -0,0 +1,15 @@
#include <iostream>
#include "uimain.h"
/*
* Example main module to test the build environment
*
*/
int main(
int argc,
char** argv
)
{
UIMain list;
std::cout << "Apollo64.exe is working okay." << std::endl;
return 0;
}