summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-09-05 19:51:19 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-09-05 19:51:19 (GMT)
commit58be1b005f6dc0122a1fcce4e2c1dc977df6e623 (patch)
tree29cae1944a5a826a96e60756ca0343a35f6a15ac /Tests
parente3dda17db2fd4c02dbcb50baccd994830b91b0f0 (diff)
downloadCMake-58be1b005f6dc0122a1fcce4e2c1dc977df6e623.zip
CMake-58be1b005f6dc0122a1fcce4e2c1dc977df6e623.tar.gz
CMake-58be1b005f6dc0122a1fcce4e2c1dc977df6e623.tar.bz2
BUG: Fix issue #7046 - make sure extensionless headers and resource files work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Framework/CMakeLists.txt13
-rw-r--r--Tests/Framework/fooExtensionlessResource1
-rw-r--r--Tests/Framework/fooPrivateExtensionlessHeader1
-rw-r--r--Tests/Framework/fooPublicExtensionlessHeader1
4 files changed, 13 insertions, 3 deletions
diff --git a/Tests/Framework/CMakeLists.txt b/Tests/Framework/CMakeLists.txt
index 397e970..29f9838 100644
--- a/Tests/Framework/CMakeLists.txt
+++ b/Tests/Framework/CMakeLists.txt
@@ -5,8 +5,11 @@ add_library(foo SHARED
foo.cxx
foo.h
foo2.h
+ fooExtensionlessResource
fooPublic.h
+ fooPublicExtensionlessHeader
fooPrivate.h
+ fooPrivateExtensionlessHeader
fooNeither.h
fooBoth.h
test.lua
@@ -20,9 +23,9 @@ set(foo_ver ver4)
set_target_properties(foo PROPERTIES
FRAMEWORK TRUE
FRAMEWORK_VERSION ${foo_ver}
- PRIVATE_HEADER "fooPrivate.h;fooBoth.h"
- PUBLIC_HEADER "foo.h;foo2.h;fooPublic.h;fooBoth.h"
- RESOURCE "test.lua"
+ PRIVATE_HEADER "fooPrivate.h;fooBoth.h;fooPrivateExtensionlessHeader"
+ PUBLIC_HEADER "foo.h;foo2.h;fooPublic.h;fooBoth.h;fooPublicExtensionlessHeader"
+ RESOURCE "fooExtensionlessResource;test.lua"
INSTALL_NAME_DIR "@executable_path/../../../Library/Frameworks"
DEBUG_POSTFIX -d
)
@@ -57,11 +60,15 @@ add_library(fooStatic STATIC
foo.cxx
foo.h
foo2.h
+ fooExtensionlessResource
fooPublic.h
+ fooPublicExtensionlessHeader
fooPrivate.h
+ fooPrivateExtensionlessHeader
fooNeither.h
fooBoth.h
test.lua
+ fooDeepPublic.h
)
set_target_properties(fooStatic PROPERTIES
FRAMEWORK TRUE
diff --git a/Tests/Framework/fooExtensionlessResource b/Tests/Framework/fooExtensionlessResource
new file mode 100644
index 0000000..5122750
--- /dev/null
+++ b/Tests/Framework/fooExtensionlessResource
@@ -0,0 +1 @@
+fooExtensionlessResource
diff --git a/Tests/Framework/fooPrivateExtensionlessHeader b/Tests/Framework/fooPrivateExtensionlessHeader
new file mode 100644
index 0000000..ac97b92
--- /dev/null
+++ b/Tests/Framework/fooPrivateExtensionlessHeader
@@ -0,0 +1 @@
+fooPrivateExtensionlessHeader
diff --git a/Tests/Framework/fooPublicExtensionlessHeader b/Tests/Framework/fooPublicExtensionlessHeader
new file mode 100644
index 0000000..972d989
--- /dev/null
+++ b/Tests/Framework/fooPublicExtensionlessHeader
@@ -0,0 +1 @@
+fooPublicExtensionlessHeader