# compile the necessary parts of boost out of ./contrib
- # We need some definitions to use the headers of the bundled boost
+ # We need to set some definitions to use the headers of the bundled boost
# library:
ADD_DEFINITIONS("-DBOOST_NO_HASH" "-DBOOST_NO_SLIST")
- #
- # Newer versions have a flag -Wunused-local-typedefs that, though in principle
- # a good idea, triggers a lot in BOOST in various places. Unfortunately,
- # this warning is included in -W/-Wall, so disable it if the compiler
- # supports it.
- #
- ENABLE_IF_AVAILABLE(CMAKE_CXX_FLAGS "-Wno-unused-local-typedefs")
-
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/contrib/boost-1.49.0/include
)
MACRO(FEATURE_FUNCTIONPARSER_FIND_EXTERNAL var)
MESSAGE(WARNING "\n"
- "Module for finding functionparser not written, yet!\n\n"
+ "No module available for finding functionparser externally.\n\n"
)
ENDMACRO()
ENABLE_IF_AVAILABLE(CMAKE_C_FLAGS_RELEASE "-felide-constructors")
ENABLE_IF_AVAILABLE(CMAKE_CXX_FLAGS_RELEASE "-felide-constructors")
+#
+# TODO: Migrate this toggle to the boost objects, if possible.
+# Newer versions have a flag -Wunused-local-typedefs that, though in principle
+# a good idea, triggers a lot in BOOST in various places. Unfortunately,
+# this warning is included in -W/-Wall, so disable it if the compiler
+# supports it.
+#
+ENABLE_IF_AVAILABLE(CMAKE_CXX_FLAGS "-Wno-unused-local-typedefs")
+
+
###############################
# #
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams