diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-13 09:23:26 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-13 09:23:26 +0100 |
commit | 15375537ebafd5b4ff2a1dad6d496ae5f1e1fd5b (patch) | |
tree | d437cceb24c3e7f393afbbf15f7ff711240c0fc3 /variant | |
parent | 9f06603e2d752f574b145bc3c4b5e453d7d306d0 (diff) |
cmake: variant work
Diffstat (limited to 'variant')
-rw-r--r-- | variant/default/main.cpp | 2 | ||||
-rw-r--r-- | variant/trackmouse/CMakeLists.txt | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/variant/default/main.cpp b/variant/default/main.cpp index 80f7e495..e539c635 100644 --- a/variant/default/main.cpp +++ b/variant/default/main.cpp @@ -16,5 +16,3 @@ int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int /* nCmdShow */) return main(__argc, __argv); } #endif - - diff --git a/variant/trackmouse/CMakeLists.txt b/variant/trackmouse/CMakeLists.txt index bda9c39b..549b334a 100644 --- a/variant/trackmouse/CMakeLists.txt +++ b/variant/trackmouse/CMakeLists.txt @@ -1 +1,9 @@ -message("FATAL_ERROR" "") +otr_module(executable EXECUTABLE BIN) + +set_target_properties(opentrack-executable PROPERTIES + SUFFIX "${opentrack-binary-suffix}" + OUTPUT_NAME "trackmouse-opentrack" + PREFIX "" +) + +target_link_libraries(opentrack-executable opentrack-user-interface) |