cmake_modules/CMakePascalCompiler.cmake.in
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Sat, 04 Jan 2014 02:18:57 +0100
branch0.9.20
changeset 9899 5b8bde62a8ef
parent 8859 bead90828a94
permissions -rw-r--r--
Fixed fPIC link failure with arm and sparc architectures, fixing issue #757 Added TargetArch.cmake, from https://github.com/petroules/solar-cmake/blob/master/TargetArch.cmake

set(CMAKE_Pascal_COMPILER "@CMAKE_Pascal_COMPILER@")
set(CMAKE_Pascal_COMPILER_ARG1 "@CMAKE_Pascal_COMPILER_ARG1@")
set(CMAKE_Pascal_COMPILER_LOADED 1)
set(CMAKE_Pascal_COMPILER_VERSION "@CMAKE_Pascal_COMPILER_VERSION@")

set(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")

set(CMAKE_Pascal_SOURCE_FILE_EXTENSIONS "pas" "pp")
set(CMAKE_Pascal_IGNORE_EXTENSIONS ppu;PPU;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_Pascal_LINKER_PREFERENCE Prefered)
set(CMAKE_Pascal_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_Pascal_OUTPUT_EXTENSION ".o")