diff options
Diffstat (limited to 'variant/default')
-rw-r--r-- | variant/default/CMakeLists.txt | 9 | ||||
-rw-r--r-- | variant/default/facetracknoir.ico | bin | 0 -> 67134 bytes | |||
-rw-r--r-- | variant/default/facetracknoir.rc | 2 | ||||
-rw-r--r-- | variant/default/lang/nl_NL.ts | 4 | ||||
-rw-r--r-- | variant/default/lang/ru_RU.ts | 4 | ||||
-rw-r--r-- | variant/default/lang/stub.ts | 4 | ||||
-rw-r--r-- | variant/default/main.cpp | 20 |
7 files changed, 43 insertions, 0 deletions
diff --git a/variant/default/CMakeLists.txt b/variant/default/CMakeLists.txt new file mode 100644 index 00000000..a9e3c754 --- /dev/null +++ b/variant/default/CMakeLists.txt @@ -0,0 +1,9 @@ +otr_module(executable EXECUTABLE BIN) + +set_target_properties(opentrack-executable PROPERTIES + SUFFIX "${opentrack-binary-suffix}" + OUTPUT_NAME "opentrack" + PREFIX "" +) + +target_link_libraries(opentrack-executable opentrack-user-interface) diff --git a/variant/default/facetracknoir.ico b/variant/default/facetracknoir.ico Binary files differnew file mode 100644 index 00000000..5cac8da1 --- /dev/null +++ b/variant/default/facetracknoir.ico diff --git a/variant/default/facetracknoir.rc b/variant/default/facetracknoir.rc new file mode 100644 index 00000000..020ffe97 --- /dev/null +++ b/variant/default/facetracknoir.rc @@ -0,0 +1,2 @@ +#include <windows.h> +IDI_ICON1 ICON "facetracknoir.ico" diff --git a/variant/default/lang/nl_NL.ts b/variant/default/lang/nl_NL.ts new file mode 100644 index 00000000..9e739505 --- /dev/null +++ b/variant/default/lang/nl_NL.ts @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="nl_NL"> +</TS> diff --git a/variant/default/lang/ru_RU.ts b/variant/default/lang/ru_RU.ts new file mode 100644 index 00000000..f62cf2e1 --- /dev/null +++ b/variant/default/lang/ru_RU.ts @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="ru_RU"> +</TS> diff --git a/variant/default/lang/stub.ts b/variant/default/lang/stub.ts new file mode 100644 index 00000000..6401616d --- /dev/null +++ b/variant/default/lang/stub.ts @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +</TS> diff --git a/variant/default/main.cpp b/variant/default/main.cpp new file mode 100644 index 00000000..80f7e495 --- /dev/null +++ b/variant/default/main.cpp @@ -0,0 +1,20 @@ +#include "gui/init.hpp" +#include "gui/main-window.hpp" + +#if defined _WIN32 +# include <windows.h> +#endif + +int main(int argc, char** argv) +{ + return run_application(argc, argv, []() { return new main_window; }); +} + +#if defined _MSC_VER +int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int /* nCmdShow */) +{ + return main(__argc, __argv); +} +#endif + + |