Clean up dlmalloc.
[wincetools.git] / loader / CMakeLists.txt
index ad8a240..ea98eb5 100644 (file)
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.6.0)
 \r
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})\r
 \r
-add_definitions(-DUSE_LOCKS=1 -DUSE_DL_PREFIX=1 -DDEFAULT_GRANULARITY=2097152 -DDEFAULT_MMAP_THRESHOLD=2097152)\r
+# For dlmalloc.h\r
+add_definitions(-DUSE_DL_PREFIX=1)\r
 \r
 add_executable(himemce himemce.c\r
   wine.h my_winternl.h compat.c\r
@@ -13,6 +14,11 @@ add_executable(himemce himemce.c
   server_protocol.h server_mapping.c)\r
 install(TARGETS himemce DESTINATION bin)\r
 \r
+add_library(newtest SHARED newtest.cpp newtest.def)\r
+add_executable(newtestex newtestex.cpp)\r
+target_link_libraries(newtestex newtest)\r
+install(TARGETS newtest newtestex DESTINATION bin)\r
+\r
 add_executable(himemce-real himemce-real.cpp)\r
 SET_TARGET_PROPERTIES(himemce-real PROPERTIES LINK_FLAGS " /FIXED:NO")\r
 # FIXME: For now...\r