From b6f9297a89e98cc587d6c30a3f414933be821694 Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Wed, 1 Aug 2018 16:15:39 +0200 Subject: [PATCH] CLion run options --- .idea/.name | 1 + .idea/codeStyles/Project.xml | 29 +++++++++++++++++++++++++++++ .idea/gba-sprite-engine.iml | 2 ++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ test/CMakeLists.txt | 3 +++ 7 files changed, 56 insertions(+) create mode 100644 .idea/.name create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/gba-sprite-engine.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..ad91ab9 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +Unittest \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..30aa626 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/gba-sprite-engine.iml b/.idea/gba-sprite-engine.iml new file mode 100644 index 0000000..f08604b --- /dev/null +++ b/.idea/gba-sprite-engine.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..b8a138f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..211d2bd --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0a797f3..bd0c25c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -4,6 +4,9 @@ project(Unittest) SET(GTEST_LIBRARY "/Users/jefklak/CLionProjects/googletest-release-1.8.0/googletest") # reset linker flags; ARM + GTest doesn't work SET(CMAKE_EXE_LINKER_FLAGS "${BASE_CMAKE_LINK_FLAGS}") +SET(CMAKE_C_COMPILER gcc) +SET(CMAKE_CXX_COMPILER g++) + add_definitions(-DCODE_COMPILED_AS_PART_OF_TEST) include_directories(${GTEST_LIBRARY}/include)