This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  7623edbf9e3ca301e26274fd6e8b26d22579961a (commit)
       via  65e9bbe78eae49828cf02ed1e425d47ae4bea95a (commit)
      from  8316b91b9740f79d9a4250534d6fce5adbd73b34 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7623edbf9e3ca301e26274fd6e8b26d22579961a
commit 7623edbf9e3ca301e26274fd6e8b26d22579961a
Merge: 8316b91 65e9bbe
Author:     Alexander Neundorf <neund...@kde.org>
AuthorDate: Mon Nov 5 15:21:30 2012 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Mon Nov 5 15:21:30 2012 -0500

    Merge topic 'TI_DSP_Compiler' into next
    
    65e9bbe Add support for Texas Instruments DSP compiler (#12405)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=65e9bbe78eae49828cf02ed1e425d47ae4bea95a
commit 65e9bbe78eae49828cf02ed1e425d47ae4bea95a
Author:     Alex Neundorf <neund...@kde.org>
AuthorDate: Sun Nov 4 15:46:57 2012 +0100
Commit:     Alex Neundorf <neund...@kde.org>
CommitDate: Sun Nov 4 15:46:57 2012 +0100

    Add support for Texas Instruments DSP compiler (#12405)
    
    This is for the cl6x compiler from TI, which is used for TI DSPs.
    The toolchain can be downloaded for free for Linux and Windows.
    
    Alex

diff --git a/Modules/Compiler/TI_DSP-ASM.cmake 
b/Modules/Compiler/TI_DSP-ASM.cmake
new file mode 100644
index 0000000..e097626
--- /dev/null
+++ b/Modules/Compiler/TI_DSP-ASM.cmake
@@ -0,0 +1,8 @@
+set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
+set(CMAKE_LINK_LIBRARY_FLAG "--library=")
+set(CMAKE_INCLUDE_FLAG_ASM "--include_path=")
+
+set(CMAKE_ASM_COMPILE_OBJECT  "<CMAKE_ASM_COMPILER> --compile_only 
--asm_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<OBJECT>")
+set(CMAKE_ASM_LINK_EXECUTABLE "<CMAKE_ASM_COMPILER> <OBJECTS> --run_linker 
--output_file=<TARGET> <CMAKE_ASM_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>")
+
+set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;s;abs)
diff --git a/Modules/Compiler/TI_DSP-C.cmake b/Modules/Compiler/TI_DSP-C.cmake
new file mode 100644
index 0000000..b580994
--- /dev/null
+++ b/Modules/Compiler/TI_DSP-C.cmake
@@ -0,0 +1,10 @@
+set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
+set(CMAKE_LINK_LIBRARY_FLAG "--library=")
+set(CMAKE_INCLUDE_FLAG_C "--include_path=")
+
+set(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> --compile_only 
--skip_assembler --c_file=<SOURCE> <DEFINES> <FLAGS> 
--output_file=<ASSEMBLY_SOURCE>")
+set(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> --preproc_only 
--c_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<PREPROCESSED_SOURCE>")
+
+set(CMAKE_C_COMPILE_OBJECT  "<CMAKE_C_COMPILER> --compile_only 
--c_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<OBJECT>")
+set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -r <TARGET> <OBJECTS>")
+set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> --run_linker 
--output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_C_LINK_FLAGS> 
<LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>")
diff --git a/Modules/Compiler/TI_DSP-CXX.cmake 
b/Modules/Compiler/TI_DSP-CXX.cmake
new file mode 100644
index 0000000..8cf5ac3
--- /dev/null
+++ b/Modules/Compiler/TI_DSP-CXX.cmake
@@ -0,0 +1,10 @@
+set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
+set(CMAKE_LINK_LIBRARY_FLAG "--library=")
+set(CMAKE_INCLUDE_FLAG_CXX "--include_path=")
+
+set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> --compile_only 
--skip_assembler --cpp_file=<SOURCE> <DEFINES> <FLAGS> 
--output_file=<ASSEMBLY_SOURCE>")
+set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> --preproc_only 
--cpp_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<PREPROCESSED_SOURCE>")
+
+set(CMAKE_CXX_COMPILE_OBJECT  "<CMAKE_CXX_COMPILER> --compile_only 
--cpp_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<OBJECT>")
+set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> -r <TARGET> <OBJECTS>")
+set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_CXX_COMPILER> --run_linker 
--output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_CXX_LINK_FLAGS> 
<LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>")

-----------------------------------------------------------------------

Summary of changes:
 Modules/Compiler/TI_DSP-ASM.cmake |    8 ++++++++
 Modules/Compiler/TI_DSP-C.cmake   |   10 ++++++++++
 Modules/Compiler/TI_DSP-CXX.cmake |   10 ++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 Modules/Compiler/TI_DSP-ASM.cmake
 create mode 100644 Modules/Compiler/TI_DSP-C.cmake
 create mode 100644 Modules/Compiler/TI_DSP-CXX.cmake


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to