Commits

Jacob Moen  committed 576be2e

Log4cplus builds with VC. ;)

  • Participants
  • Parent commits 8b1e662

Comments (0)

Files changed (2)

File CMakeLists.txt

 
 # Dependencies
 set(DEPENDENCIES_INCLUDES
+    "${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/log4cplus/include"
     "${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/PagedGeometry/include"
     "${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/Caelum-0.5.0/main/include"
     "${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/HYDRAX/Hydrax/src/Hydrax"
 add_subdirectory(Ogitor)
 
 # Setup Dependencies
+add_subdirectory(Dependencies/log4cplus)
 add_subdirectory(Dependencies/HYDRAX/Hydrax/src/Hydrax)
 add_subdirectory(Dependencies/Caelum-0.5.0/main)
 add_subdirectory(Dependencies/PagedGeometry)

File Dependencies/log4cplus/CMakeLists.txt

     include/log4cplus/helpers/syncprims-win32.h)
 
   # Comment out the following lines if you want non-Unicode version.
-  add_definitions (-DUNICODE -D_UNICODE -UMBCS -U_MBCS)
+  add_definitions (-DUNICODE -D_UNICODE -UMBCS -U_MBCS -DINSIDE_LOG4CPLUS)
   set (log4cplus_postfix "${log4cplus_postfix}U")
   
   #add_definitions (-DLOG4CPLUS_STATIC)