diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-22 16:48:16 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-22 16:48:16 (GMT) |
commit | 6e2fd2c2cade2d8397dbdcd104d10654c2ff6c65 (patch) | |
tree | 80d10867c3f9f7ce441104808d284a913c16627f /Modules/CMakeSystemWithToolchainFile.cmake.in | |
parent | bef8d3580b32987486c67cf0eed73fe3d11472d3 (diff) | |
download | CMake-6e2fd2c2cade2d8397dbdcd104d10654c2ff6c65.zip CMake-6e2fd2c2cade2d8397dbdcd104d10654c2ff6c65.tar.gz CMake-6e2fd2c2cade2d8397dbdcd104d10654c2ff6c65.tar.bz2 |
BUG: now the toolchain file is configured into the buildtree, otherwise e.g.
CMAKE_SOURCE_DIR can't be used there
ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they
were the preprocessor produced:
9 "test.c"
static char const info_compiler[] = "INFO:compiler["
# 40 "test.c"
""
"]";
and the mixing of the preprocessing directives and the string constants
didn't work.
Alex
Diffstat (limited to 'Modules/CMakeSystemWithToolchainFile.cmake.in')
-rw-r--r-- | Modules/CMakeSystemWithToolchainFile.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeSystemWithToolchainFile.cmake.in b/Modules/CMakeSystemWithToolchainFile.cmake.in index b86a810..e308956 100644 --- a/Modules/CMakeSystemWithToolchainFile.cmake.in +++ b/Modules/CMakeSystemWithToolchainFile.cmake.in @@ -1,5 +1,5 @@ - -INCLUDE("@CMAKE_TOOLCHAIN_FILE@") +# the following file has been configured from @CMAKE_TOOLCHAIN_FILE@ +INCLUDE(@_OWN_DIR@/CMakeToolchainFile.cmake) # set CMAKE_SYSTEM to the CMAKE_SYSTEM_NAME SET(CMAKE_SYSTEM ${CMAKE_SYSTEM_NAME}) |