diff options
Diffstat (limited to 'Tests/PreOrder')
-rw-r--r-- | Tests/PreOrder/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/PreOrder/Library/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/PreOrder/Library/simpleLib.cxx | 3 | ||||
-rw-r--r-- | Tests/PreOrder/simple.cxx | 6 |
4 files changed, 17 insertions, 0 deletions
diff --git a/Tests/PreOrder/CMakeLists.txt b/Tests/PreOrder/CMakeLists.txt new file mode 100644 index 0000000..a4a96fb --- /dev/null +++ b/Tests/PreOrder/CMakeLists.txt @@ -0,0 +1,6 @@ +# a simple test case +PROJECT (PreOrder) +SET(CMAKE_IGNORE_DEPENDENCIES_ORDERING 1) +SUBDIRS(PREORDER Library) +ADD_EXECUTABLE (simple simple.cxx) +TARGET_LINK_LIBRARIES(simple simpleLib) diff --git a/Tests/PreOrder/Library/CMakeLists.txt b/Tests/PreOrder/Library/CMakeLists.txt new file mode 100644 index 0000000..6c011ec --- /dev/null +++ b/Tests/PreOrder/Library/CMakeLists.txt @@ -0,0 +1,2 @@ +ADD_LIBRARY(simpleLib simpleLib.cxx ) + diff --git a/Tests/PreOrder/Library/simpleLib.cxx b/Tests/PreOrder/Library/simpleLib.cxx new file mode 100644 index 0000000..281d888 --- /dev/null +++ b/Tests/PreOrder/Library/simpleLib.cxx @@ -0,0 +1,3 @@ +void simpleLib() +{ +} diff --git a/Tests/PreOrder/simple.cxx b/Tests/PreOrder/simple.cxx new file mode 100644 index 0000000..ef26e79 --- /dev/null +++ b/Tests/PreOrder/simple.cxx @@ -0,0 +1,6 @@ +extern void simpleLib(); +int main () +{ + simpleLib(); + return 0; +} |