cmake_modules/CMakePascalCompiler.cmake.in
author koda
Tue, 19 Mar 2013 10:34:46 +0100
branchcmake_pascal
changeset 8775 3cad01db0bae
parent 8767 54c770f91714
child 8834 edceeafff671
permissions -rw-r--r--
apply the new macro add_flag_* to set pascal flags, apply add_definitions where appropriate, small cleanup
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     1
SET(CMAKE_Pascal_COMPILER "@CMAKE_Pascal_COMPILER@")
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     2
SET(CMAKE_Pascal_COMPILER_ARG1 "@CMAKE_Pascal_COMPILER_ARG1@")
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     3
SET(CMAKE_AR "@CMAKE_AR@")
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     4
SET(CMAKE_RANLIB "@CMAKE_RANLIB@")
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     5
SET(CMAKE_Pascal_COMPILER_LOADED 1)
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     6
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     7
SET(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     8
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     9
SET(CMAKE_Pascal_SOURCE_FILE_EXTENSIONS "pas" "pp")
8767
koda
parents: 8758
diff changeset
    10
SET(CMAKE_Pascal_IGNORE_EXTENSIONS ppu;PPU;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
    11
SET(CMAKE_Pascal_LINKER_PREFERENCE Prefered)
8758
cb3b470f1000 better support for cmake directory and fpc output paths
koda
parents: 8750
diff changeset
    12
SET(CMAKE_Pascal_OUTPUT_EXTENSION_REPLACE 1)
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
    13
SET(CMAKE_Pascal_OUTPUT_EXTENSION ".o")