cmake_modules/CMakePascalCompiler.cmake.in
branchcmake_pascal
changeset 8758 cb3b470f1000
parent 8750 d9e57426e759
child 8767 54c770f91714
--- a/cmake_modules/CMakePascalCompiler.cmake.in	Mon Mar 18 12:30:09 2013 +0100
+++ b/cmake_modules/CMakePascalCompiler.cmake.in	Mon Mar 18 16:38:46 2013 +0100
@@ -7,6 +7,7 @@
 SET(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")
 
 SET(CMAKE_Pascal_SOURCE_FILE_EXTENSIONS "pas" "pp")
-SET(CMAKE_Pascal_IGNORE_EXTENSIONS "o" "ppu" "obj" "def" "rc" "RC")
+SET(CMAKE_Pascal_IGNORE_EXTENSIONS ppu;PPU;h;Ho;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")