summaryrefslogtreecommitdiff
path: root/Tests/Simple
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
commitef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch)
tree6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Tests/Simple
parent035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff)
downloadcmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.gz
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.bz2
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.zip
Imported Upstream version 2.8.10.2upstream/2.8.10.2
Diffstat (limited to 'Tests/Simple')
-rw-r--r--Tests/Simple/CMakeLists.txt8
-rw-r--r--Tests/Simple/simpleWe.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/Tests/Simple/CMakeLists.txt b/Tests/Simple/CMakeLists.txt
index dc965a733..a951c2da2 100644
--- a/Tests/Simple/CMakeLists.txt
+++ b/Tests/Simple/CMakeLists.txt
@@ -3,9 +3,9 @@ project (Simple)
add_executable (Simple simple.cxx)
-add_library (simpleLib STATIC
- simpleLib.cxx
- simpleCLib.c
+add_library (simpleLib STATIC
+ simpleLib.cxx
+ simpleCLib.c
simpleWe.cpp
)
@@ -14,4 +14,4 @@ target_link_libraries (Simple simpleLib)
# make sure optimized libs are not used by debug builds
if(CMAKE_BUILD_TYPE MATCHES Debug)
target_link_libraries(Simple optimized c:/not/here.lib )
-endif(CMAKE_BUILD_TYPE MATCHES Debug)
+endif()
diff --git a/Tests/Simple/simpleWe.cpp b/Tests/Simple/simpleWe.cpp
index 859e07c06..e0f22ef8d 100644
--- a/Tests/Simple/simpleWe.cpp
+++ b/Tests/Simple/simpleWe.cpp
@@ -1,6 +1,6 @@
#include <stdio.h>
-class Foo
+class Foo
{
public:
Foo()