From 05ce36d2e2bada48ee97d6a7c45e3bcf71dff29a Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 29 Jan 2017 17:10:36 +0100 Subject: gbuild-to-ide xcode, added targets in menu First step in removing make as builder. Change-Id: I445627df5610a7d0b8bfbabddb66f1273e021b1a --- osx/janTestLib/janTestLib.h | 13 +++++++++++++ osx/janTestLib/janTestLib.m | 13 +++++++++++++ osx/jantest/LibMain.cpp | 15 +++++++++++++++ osx/jantest/UnittestMain.cpp | 15 +++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 osx/janTestLib/janTestLib.h create mode 100644 osx/janTestLib/janTestLib.m create mode 100644 osx/jantest/LibMain.cpp create mode 100644 osx/jantest/UnittestMain.cpp (limited to 'osx') diff --git a/osx/janTestLib/janTestLib.h b/osx/janTestLib/janTestLib.h new file mode 100644 index 000000000000..ecd13097d6fb --- /dev/null +++ b/osx/janTestLib/janTestLib.h @@ -0,0 +1,13 @@ +// +// janTestLib.h +// janTestLib +// +// Created by Jan Iversen on 29/01/2017. +// Copyright © 2017 Jan Iversen. All rights reserved. +// + +#import + +@interface janTestLib : NSObject + +@end diff --git a/osx/janTestLib/janTestLib.m b/osx/janTestLib/janTestLib.m new file mode 100644 index 000000000000..365103e2efee --- /dev/null +++ b/osx/janTestLib/janTestLib.m @@ -0,0 +1,13 @@ +// +// janTestLib.m +// janTestLib +// +// Created by Jan Iversen on 29/01/2017. +// Copyright © 2017 Jan Iversen. All rights reserved. +// + +#import "janTestLib.h" + +@implementation janTestLib + +@end diff --git a/osx/jantest/LibMain.cpp b/osx/jantest/LibMain.cpp new file mode 100644 index 000000000000..20a59c3b86ff --- /dev/null +++ b/osx/jantest/LibMain.cpp @@ -0,0 +1,15 @@ +// +// main.cpp +// jantest +// +// Created by Jan Iversen on 29/01/2017. +// Copyright © 2017 Jan Iversen. All rights reserved. +// + +#include + +int main(int argc, const char * argv[]) { + // insert code here... + std::cout << "Hello, World!\n"; + return 0; +} diff --git a/osx/jantest/UnittestMain.cpp b/osx/jantest/UnittestMain.cpp new file mode 100644 index 000000000000..20a59c3b86ff --- /dev/null +++ b/osx/jantest/UnittestMain.cpp @@ -0,0 +1,15 @@ +// +// main.cpp +// jantest +// +// Created by Jan Iversen on 29/01/2017. +// Copyright © 2017 Jan Iversen. All rights reserved. +// + +#include + +int main(int argc, const char * argv[]) { + // insert code here... + std::cout << "Hello, World!\n"; + return 0; +} -- cgit