From 8241890a4e8015d459dcec80f12b6a586a3a20d1 Mon Sep 17 00:00:00 2001 From: Joshua Moerman Date: Mon, 24 Oct 2011 23:59:56 +0200 Subject: [PATCH] Initial Commit --- AwesomeAttractorND.xcodeproj/project.pbxproj | 208 +++++++++++++++++++ AwesomeAttractorND/AwesomeAttractorND.1 | 79 +++++++ AwesomeAttractorND/main.cpp | 18 ++ 3 files changed, 305 insertions(+) create mode 100644 AwesomeAttractorND.xcodeproj/project.pbxproj create mode 100644 AwesomeAttractorND/AwesomeAttractorND.1 create mode 100644 AwesomeAttractorND/main.cpp diff --git a/AwesomeAttractorND.xcodeproj/project.pbxproj b/AwesomeAttractorND.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d7c0a1e --- /dev/null +++ b/AwesomeAttractorND.xcodeproj/project.pbxproj @@ -0,0 +1,208 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 42D2E1221456175C00FBC16A /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 42D2E1211456175C00FBC16A /* main.cpp */; }; + 42D2E1241456175C00FBC16A /* AwesomeAttractorND.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 42D2E1231456175C00FBC16A /* AwesomeAttractorND.1 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 42D2E11B1456175C00FBC16A /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + 42D2E1241456175C00FBC16A /* AwesomeAttractorND.1 in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 42D2E11D1456175C00FBC16A /* AwesomeAttractorND */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = AwesomeAttractorND; sourceTree = BUILT_PRODUCTS_DIR; }; + 42D2E1211456175C00FBC16A /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 42D2E1231456175C00FBC16A /* AwesomeAttractorND.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = AwesomeAttractorND.1; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 42D2E11A1456175C00FBC16A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 42D2E1121456175C00FBC16A = { + isa = PBXGroup; + children = ( + 42D2E1201456175C00FBC16A /* AwesomeAttractorND */, + 42D2E11E1456175C00FBC16A /* Products */, + ); + sourceTree = ""; + }; + 42D2E11E1456175C00FBC16A /* Products */ = { + isa = PBXGroup; + children = ( + 42D2E11D1456175C00FBC16A /* AwesomeAttractorND */, + ); + name = Products; + sourceTree = ""; + }; + 42D2E1201456175C00FBC16A /* AwesomeAttractorND */ = { + isa = PBXGroup; + children = ( + 42D2E1211456175C00FBC16A /* main.cpp */, + 42D2E1231456175C00FBC16A /* AwesomeAttractorND.1 */, + ); + path = AwesomeAttractorND; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 42D2E11C1456175C00FBC16A /* AwesomeAttractorND */ = { + isa = PBXNativeTarget; + buildConfigurationList = 42D2E1271456175C00FBC16A /* Build configuration list for PBXNativeTarget "AwesomeAttractorND" */; + buildPhases = ( + 42D2E1191456175C00FBC16A /* Sources */, + 42D2E11A1456175C00FBC16A /* Frameworks */, + 42D2E11B1456175C00FBC16A /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = AwesomeAttractorND; + productName = AwesomeAttractorND; + productReference = 42D2E11D1456175C00FBC16A /* AwesomeAttractorND */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 42D2E1141456175C00FBC16A /* Project object */ = { + isa = PBXProject; + attributes = { + ORGANIZATIONNAME = Vadovas; + }; + buildConfigurationList = 42D2E1171456175C00FBC16A /* Build configuration list for PBXProject "AwesomeAttractorND" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 42D2E1121456175C00FBC16A; + productRefGroup = 42D2E11E1456175C00FBC16A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 42D2E11C1456175C00FBC16A /* AwesomeAttractorND */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 42D2E1191456175C00FBC16A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 42D2E1221456175C00FBC16A /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 42D2E1251456175C00FBC16A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 42D2E1261456175C00FBC16A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + SDKROOT = macosx; + }; + name = Release; + }; + 42D2E1281456175C00FBC16A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 42D2E1291456175C00FBC16A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 42D2E1171456175C00FBC16A /* Build configuration list for PBXProject "AwesomeAttractorND" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 42D2E1251456175C00FBC16A /* Debug */, + 42D2E1261456175C00FBC16A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 42D2E1271456175C00FBC16A /* Build configuration list for PBXNativeTarget "AwesomeAttractorND" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 42D2E1281456175C00FBC16A /* Debug */, + 42D2E1291456175C00FBC16A /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 42D2E1141456175C00FBC16A /* Project object */; +} diff --git a/AwesomeAttractorND/AwesomeAttractorND.1 b/AwesomeAttractorND/AwesomeAttractorND.1 new file mode 100644 index 0000000..fa7baf1 --- /dev/null +++ b/AwesomeAttractorND/AwesomeAttractorND.1 @@ -0,0 +1,79 @@ +.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. +.\"See Also: +.\"man mdoc.samples for a complete listing of options +.\"man mdoc for the short list of editing options +.\"/usr/share/misc/mdoc.template +.Dd 10/24/11 \" DATE +.Dt AwesomeAttractorND 1 \" Program name and manual section number +.Os Darwin +.Sh NAME \" Section Header - required - don't modify +.Nm AwesomeAttractorND, +.\" The following lines are read in generating the apropos(man -k) database. Use only key +.\" words here as the database is built based on the words here and in the .ND line. +.Nm Other_name_for_same_program(), +.Nm Yet another name for the same program. +.\" Use .Nm macro to designate other names for the documented program. +.Nd This line parsed for whatis database. +.Sh SYNOPSIS \" Section Header - required - don't modify +.Nm +.Op Fl abcd \" [-abcd] +.Op Fl a Ar path \" [-a path] +.Op Ar file \" [file] +.Op Ar \" [file ...] +.Ar arg0 \" Underlined argument - use .Ar anywhere to underline +arg2 ... \" Arguments +.Sh DESCRIPTION \" Section Header - required - don't modify +Use the .Nm macro to refer to your program throughout the man page like such: +.Nm +Underlining is accomplished with the .Ar macro like this: +.Ar underlined text . +.Pp \" Inserts a space +A list of items with descriptions: +.Bl -tag -width -indent \" Begins a tagged list +.It item a \" Each item preceded by .It macro +Description of item a +.It item b +Description of item b +.El \" Ends the list +.Pp +A list of flags and their descriptions: +.Bl -tag -width -indent \" Differs from above in tag removed +.It Fl a \"-a flag as a list item +Description of -a flag +.It Fl b +Description of -b flag +.El \" Ends the list +.Pp +.\" .Sh ENVIRONMENT \" May not be needed +.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 +.\" .It Ev ENV_VAR_1 +.\" Description of ENV_VAR_1 +.\" .It Ev ENV_VAR_2 +.\" Description of ENV_VAR_2 +.\" .El +.Sh FILES \" File used or created by the topic of the man page +.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact +.It Pa /usr/share/file_name +FILE_1 description +.It Pa /Users/joeuser/Library/really_long_file_name +FILE_2 description +.El \" Ends the list +.\" .Sh DIAGNOSTICS \" May not be needed +.\" .Bl -diag +.\" .It Diagnostic Tag +.\" Diagnostic informtion here. +.\" .It Diagnostic Tag +.\" Diagnostic informtion here. +.\" .El +.Sh SEE ALSO +.\" List links in ascending order by section, alphabetically within a section. +.\" Please do not reference files that do not exist without filing a bug report +.Xr a 1 , +.Xr b 1 , +.Xr c 1 , +.Xr a 2 , +.Xr b 2 , +.Xr a 3 , +.Xr b 3 +.\" .Sh BUGS \" Document known, unremedied bugs +.\" .Sh HISTORY \" Document history if command behaves in a unique manner \ No newline at end of file diff --git a/AwesomeAttractorND/main.cpp b/AwesomeAttractorND/main.cpp new file mode 100644 index 0000000..855a111 --- /dev/null +++ b/AwesomeAttractorND/main.cpp @@ -0,0 +1,18 @@ +// +// main.cpp +// AwesomeAttractorND +// +// Created by Joshua Moerman on 10/24/11. +// Copyright 2011 Vadovas. All rights reserved. +// + +#include + +int main (int argc, const char * argv[]) +{ + + // insert code here... + std::cout << "Hello, World!\n"; + return 0; +} +