Author: sir_richard
Date: Sun Jul 25 20:28:17 2010
New Revision: 48262
URL: http://svn.reactos.org/svn/reactos?rev=48262&view=rev
Log:
[CMAKE]: CRT can now be built! Our first cross-compile target.
[CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support.
Modified:
branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
Modified: branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/CMake…
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] Sun Jul 25 20:28:17 2010
@@ -9,7 +9,8 @@
add_definitions(-D_MT)
add_definitions(-D_CRTBLD)
-
file(GLOB_RECURSE SOURCE "*.c")
+LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/stdio/findgen.c)
+LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c)
add_library(crt ${SOURCE})
Author: sir_richard
Date: Sun Jul 25 20:07:19 2010
New Revision: 48261
URL: http://svn.reactos.org/svn/reactos?rev=48261&view=rev
Log:
[CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself to the path. CMAKE is magical and finds the RosBE compilers.
Modified:
branches/cmake-bringup/toolchain-mingw32.cmake
Modified: branches/cmake-bringup/toolchain-mingw32.cmake
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/toolchain-mingw32…
==============================================================================
--- branches/cmake-bringup/toolchain-mingw32.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/toolchain-mingw32.cmake [iso-8859-1] Sun Jul 25 20:07:19 2010
@@ -6,7 +6,7 @@
SET(CMAKE_CXX_COMPILER mingw32-g++)
# here is the target environment located
-SET(CMAKE_FIND_ROOT_PATH /usr/local/RosBE )
+#SET(CMAKE_FIND_ROOT_PATH /usr/local/RosBE )
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search