| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This creates a barrier mechanism to prevent user code from using
cmake_policy(POP) to pop a scope it didn't push with cmake_policy(PUSH).
|
|
|
|
|
|
|
|
| |
This makes cmMakefile::PushPolicy and cmMakefile::PopPolicy private so
that any outside place that uses them needs to use the PolicyPushPop
helper in an automatic variable. We grant an exception to
cmCMakePolicyCommand so it can implement cmake_policy(PUSH) and
cmake_policy(POP).
|
|
|
|
|
| |
This converts the variable and policy scope protection find_package()
uses when loading version files to use automatic variables.
|
|
|
|
|
|
| |
This creates cmMakefile::PolicyPushPop to push and pop policy scope
automatically. It also enforces balanced push/pop pairs inside the
scope it handles.
|
|
|
|
|
|
| |
This defines PolicyMap as a public member of cmPolicies. Its previous
role as a policy stack entry is now called PolicyStackEntry and
represented as a class to which more information can be added later.
|
|
|
|
| |
installer available.
|
|
|
|
| |
generated XML files are valid, parse-able XML.
|
| |
|
| |
|
|
|
|
|
| |
only looks for FL/Fl.h. Verified: all FLTK header files in 1.1.9 are .H ...
how bizarre.
|
|
|
|
|
|
|
| |
The previous change to order projects in the VS IDE did not account for
duplicate target names (such as ALL_BUILD and ZERO_CHECK) among the
input set. While we suppress generation of the duplicate project
entries, we need to use a multiset to store ordered duplicates.
|
|
|
|
|
|
| |
The previous change to make ALL_BUILD come first among targets did not
account for comparing the target name against itself. This led to an
invalid ordering of the target set. This change fixes it.
|
|
|
|
|
|
|
| |
This teaches the VS IDE generators to write ALL_BUILD into solution
files first so that it is always the default active project. Previously
it was first only if no target name sorted lexicographically earlier.
See issue #8172.
|
|
|
|
|
|
|
|
|
|
| |
Our implementation of the feature to pull in dependent targets in VS
solution files for subprojects caused the order of project files in the
solution to be arbitrary (based on pointer value in the representation).
Target ordering in solution files is important to prevent unnecessary
changing of the files and because the VS IDE selects the first project
listed as the default active target. This change restores lexicographic
order by target name.
|
|
|
|
| |
the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
|
|
|
|
| |
CMakeSetup.icns on the Mac.
|
|
|
|
| |
installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
|
| |
|
|
|
|
|
| |
This teaches function() and macro() to enforce matching logical blocks
inside the recorded bodies. This makes the error message more specific.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a logical block terminates with mismatching arguments we previously
failed to remove the function blocker but replayed the commands anyway,
which led to cases in which we failed to report the mismatch (return
shortly after the ending command). The recent refactoring of function
blocker deletion changed this behavior to produce an error on the ending
line by not blocking the command. Furthermore, the function blocker
would stay in place and complain at the end of every equal-level block
of the same type.
This teaches CMake to treat the begin/end commands (if/endif, etc.) as
correct and just warns when the arguments mismatch. The change allows
cases in which CMake 2.6.2 silently ignored a mismatch to run as before
but with a warning.
|
|
|
|
|
|
| |
This centralizes construction of the error message for an unclosed
logical block (if, foreach, etc.). We record the line at which each
block is opened so it can be reported in the error message.
|
|
|
|
|
|
| |
This uses a stack of 'barriers' to efficiently divide function blockers
into groups corresponding to each input file. It simplifies detection
of missing block close commands and factors it out of ReadListFile.
|
| |
|
|
|
|
|
|
|
| |
Previously cmTarget::GetLocation and cmTarget::GetFullPath would return
for Mac AppBundles the top-level bundle directory but without the .app
extension. We worked around this at the call sites. This fixes the
methods and removes the work-arounds. See issue #8406.
|
|
|
|
|
|
|
|
|
| |
When a function blocker decides to remove itself we previously removed
it at every return point from the C++ scope in which its removal is
needed. This teaches function blockers to transfer ownership of
themselves from cmMakefile to an automatic variable for deletion on
return. Since this removes blockers before they replay their commands,
we no longer need to avoid running blockers on their own commands.
|
|
|
|
|
|
|
| |
Previously bad arguments to an if() or elseif() would cause some
subsequent statements in the corresponding block to execute. This
teaches CMake to stop processing commands with a fatal error. It also
provides context to bad elseif() error messages.
|
|
|
|
| |
with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
|
| |
|
| |
|
|
|
|
|
| |
Gentoo 1.37 system installed boost). Fixes issue #8404 reported on mailing
list.
|
|
|
|
|
|
|
| |
mark_as_advanced variables removed, documentation cleaned up and OSX stuff
isolated to it's own section, support added for DOXYGEN_SKIP_DOT, support
added to call FindPackageHandleStandardArgs to avoid output on every CMake
run.
|
|
|
|
| |
gcc -dumpversion code and regex to a function.
|
| |
|
|
|
|
| |
OPENTHREADS_LIBRARIES.
|
| |
|
| |
|
|
|
|
| |
examples, addressed autolinking issue on MSVC
|
|
|
|
| |
prior to 1.35. Eliminate "lib" prefix except on MSVC.
|
| |
|
|
|
|
| |
including Issue #6926
|
|
|
|
| |
called more than once (Issue #7460)
|
| |
|
|
|
|
| |
the auspices of forcing the user to use autolinking, but it only did this squashing on the first call to FindBoost. Subsequent calls to FindBoost would not have Boost_LIBRARIES squashed so this code was doing nothing. If you link your target_link_libraries() against dynamic boost libraries it appears from tools like Dependency Walker that the pragma calls to autolink to the static boost libraries are ignored. It's therefore too late to make this squash apply to all calls to FindBoost because that would break users that have not setup autolinking properly. For now this fix is largely cosmetic since the original code never worked anyways (see version 1.5 introduced on 4/22/08).
|
|
|
|
| |
call since it would be useless and confusing after an initial configure.
|
|
|
|
| |
workaround for Issue #8378. Resolves Issue #8099
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
regression for bjam users on Win32 introduced in 1.4.2.4 (7/13/08). This
commit partially or completely resolves Issues #8173, #8326, #7943, #7725!
|