CMakeLists.txt
changeset 9227 c02e081ba481
parent 9224 bce8cf41d666
child 9229 5d5c5cbe7681
equal deleted inserted replaced
9226:1ac020f959e5 9227:c02e081ba481
   106 
   106 
   107 list(APPEND haskell_flags ${ghflags_parsed} # user flags
   107 list(APPEND haskell_flags ${ghflags_parsed} # user flags
   108                  "-O2"                      # optimise for faster code
   108                  "-O2"                      # optimise for faster code
   109                  )
   109                  )
   110 
   110 
       
   111 message(${LIBRARY_OUTPUT_PATH})
   111 #-vm4079,4080,4081
   112 #-vm4079,4080,4081
   112 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000")
   113 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000")
   113 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -gv")
   114 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -gv")
   114 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs")
   115 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs")
   115 
   116 
   141     if (NOT LUA_LIBRARY OR NOT LUA_INCLUDE_DIR)
   142     if (NOT LUA_LIBRARY OR NOT LUA_INCLUDE_DIR)
   142         message(STATUS "LUA will be provided by the bundled sources")
   143         message(STATUS "LUA will be provided by the bundled sources")
   143     endif()
   144     endif()
   144     set(lua_output_name "hwlua")
   145     set(lua_output_name "hwlua")
   145     add_subdirectory(misc/liblua)
   146     add_subdirectory(misc/liblua)
   146     list(APPEND pascal_flags "-XLAlua=${lua_output_name}" "-dLUA_INTERNAL")
       
   147 endif()
   147 endif()
   148 
   148 
   149 
   149 
   150 #physfs discovery
   150 #physfs discovery
   151 if (${PHYSFS_SYSTEM})
   151 if (${PHYSFS_SYSTEM})