project_files/hwc/CMakeLists.txt
changeset 10131 4b4a043111f4
parent 10129 cd2a64a1f4aa
child 10747 07ade56c3b4a
equal deleted inserted replaced
10130:a9d509848390 10131:4b4a043111f4
    61 add_custom_target(engine_c DEPENDS ${engine_sources})
    61 add_custom_target(engine_c DEPENDS ${engine_sources})
    62 
    62 
    63 
    63 
    64 #compile the c files
    64 #compile the c files
    65 add_definitions(-DPAS2C)
    65 add_definitions(-DPAS2C)
       
    66 add_definitions(-Werror=incompatible-pointer-types)
    66 
    67 
    67 add_executable(hwengine WIN32 ${engine_sources})
    68 add_executable(hwengine WIN32 ${engine_sources})
    68 
    69 
    69 target_link_libraries(hwengine  fpcrtl
    70 target_link_libraries(hwengine  fpcrtl
    70                                 ${LUA_LIBRARY}
    71                                 ${LUA_LIBRARY}