2015-02-13 19:00:14 +01:00
|
|
|
if (UNIX)
|
2020-04-22 11:04:19 +02:00
|
|
|
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
2015-02-13 19:00:14 +01:00
|
|
|
add_definitions(-D_GLIBCXX_DEBUG)
|
|
|
|
endif()
|
|
|
|
if (HAVE_RULES)
|
|
|
|
add_definitions(-DHAVE_RULES -DTIXML_USE_STL)
|
|
|
|
endif()
|
2019-08-17 10:53:07 +02:00
|
|
|
add_definitions(-DFILESDIR="${FILESDIR}")
|
2015-02-13 19:00:14 +01:00
|
|
|
endif()
|
2020-05-23 17:42:56 +02:00
|
|
|
if (MSVC)
|
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
|
|
endif()
|
2020-03-01 17:11:20 +01:00
|
|
|
if (ENABLE_CHECK_INTERNAL)
|
|
|
|
add_definitions(-DCHECK_INTERNAL)
|
|
|
|
endif()
|