| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Modify CPackDeb and CPackRPM as an example
|
|\
| |
| |
| |
| |
| |
| | |
18e8d2f java: Add CMAKE_JAVA_JAR_ENTRY_POINT optional variable.
525bb92 java: Add CMAKE_JAVA_TARGET_OUTPUT_DIR optional variable.
17a8e16 java: Factor jar output path.
|
| |
| |
| |
| |
| |
| | |
Thanks to Matthieu Carpentier.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
| |
| |
| |
| | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
| |
| |
| |
| | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|\ \
| | |
| | |
| | |
| | | |
9b4e4c9 Improve checks for Open64 and g++ incompatible flags (#12119)
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
11cf52e FindALSA: Fix version detection after last commit
815485e FindALSA: Fix incorrect include path detection
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also, removed detection of header file from <PREFIX>/include.
Can't find any example in alsa source code where the library headers
were installed outside of <PREFIX>/include/alsa.
|
| |/
| |
| |
| |
| | |
This fixes a bug where the alsa include path was being detected
incorrectly (e.g. /usr/local/include/alsa instead of /usr/local/include)
|
|\ \
| | |
| | |
| | |
| | | |
a6de8a5 FindSDL*: use FPHSA (#12467)
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1e16406 CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL option
6f6891b CMakeAddFortranSubdirectory: Always parse arguments
48a09f8 CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBAL
067c1f4 VSGNUFortran: Disable test in special cases
bd69e1c VSGNUFortran: Add special case for SunPro Fortran runtime library
414a780 CMakeAddFortranSubdirectory: Validate gfortran architecture
7e0d9f1 CMakeAddFortranSubdirectory: Find gfortran in PATH
d6b0312 CMakeAddFortranSubdirectory: Fix documentation format and typos
e4ae038 CMakeAddFortranSubdirectory: Allow full paths to directories
538c345 Add CMakeAddFortranSubdirectory to use MinGW gfortran in VS
3c6af5f Merge branch 'add-CheckLanguage-module' into CMakeAddFortranSubdirectory
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not yet support "make install" in the external project case.
Document this explicitly in the interface. Require the caller to use an
option to "disable" the unsupported behavior. This will allow us to add
the behavior by default in the future without clobbering existing
projects that handle the installation themselves.
|
| | |
| | |
| | |
| | | |
Parse arguments even in add_subdirectory() mode to validate them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cmake_add_fortran_directory uses imported targets when using the
mingw fortran compiler. This change makes those targets global
in scope so they act just like the real targets that exist when
a fortran compiler exists and regular add_subdirectory is used.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Verify that MINGW_GFORTRAN not only points to a MinGW gfortran but also
one that compiles for the target architecture. This prevents using a
32-bit gfortran in a 64-bit MSVC build.
|
| | |
| | |
| | |
| | |
| | |
| | | |
In the find_program(MINGW_GFORTRAN) call use the PATHS option for
hard-coded guesses instead of HINTS. This allows the user environment
to override the guesses and corrects usage of the command options.
|
| | |
| | |
| | |
| | |
| | | |
Indent the function signature correctly. Fix some typos. Fix the
copyright year.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the implementation to allow full paths with spaces. Change the
interpretation of relative paths to be with respect to the current binary
directory. This matches the convention used in ExternalProject. Test
both full and relative paths in the VSGNUFortran test.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds a new module that allows for easy integration of MinGW
gfortran and the Visual Studio compiler. It is done in a function called
cmake_add_fortran_subdirectory. The patch also includes a test for this
feature.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
7a6d279 FindQt4: Add include directories for lupdate.
|
| | |/
| |/|
| | |
| | |
| | | |
Fixes bug #12644.
Thanks Bernd Lörwald for partial patch.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
cbdfcc6 FindQt4: clarify warning message about incorrect Qt installation.
|
| |/ /
| | |
| | |
| | |
| | | |
Fixes bug #12915.
Thanks Laurent Rineau and Brad King for input.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
bb5f48f detect "pgfortran" as PGI Fortran compiler (#12425)
|
| |/ /
| | |
| | |
| | | |
See http://www.pgroup.com/doc/pgiug.pdf, page xviii.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
c008141 FindX11: also search for Xmu (#12447)
|
| |/ / |
|
|\ \ \
| | |/
| |/|
| | |
| | | |
5db99e8 Add CheckLanguage module
|
| |/
| |
| |
| |
| |
| | |
Define a "check_language(<lang>)" macro to test whether <lang> can be
enabled. Cache the result in CMAKE_<lang>_COMPILER. Add a test case
covering expected results.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d4b77eb Avoid discovering system infos for documentation. Adding some path is enough.
9002f73 Fix non existent std::string::clear on VS6
02ccb32 Create getDocumentedModulesListInDir which may be used in other context.
24fbc28 Add missing section markup for CPackComponent
bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code).
543f1ad Make the load of script documentation more efficient and dynamic.
cdbd1a9 Fix another compiler warning due to a typo
52c53de Really avoid compiler warning about unused vars
37f90ed Calm down compiler warning about unused var
7c82b7f Fix potential bad memory access, thanks to Eike
62b589b Suppress unused var, beautify code, avoid 1 extra newline.
751713f Update bash completion file in order to handle new CPack doc options.
1629615 CPack Documentation extraction from CMake script begins to work
83e34dd Implement simple CMake script comment markup language.
c6a0169 CPack begin the implementation of --help-command* and --help-variables*
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
CPack help will be searched in any CPack*.cmake file located
near to CPack.cmake file. The script files is parsed iff
the first line begin with ##section. Moreover the documentation
section name is specified on the remaining part of the line
minus the space immediately following ##section.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Enhance extract doc parser. Seems robust now. The legacy
module documentation parser works as before ignoring
the new markup.
- Proof of concept for CPack (generic), CPack RPM and CPack Deb
generator for macro and variables.
Try cpack --help-command and cpack --help-variables
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The language is very simple. It use ##<keyword> special comment
which opens a structured documentation block and ##end closes it.
This may be used to extract documentation for macro as 'command'
and 'variables' such that cpack --help-command and --help-variable
does parse builtin modules files (CPack.cmake, CPackComponent.cmake,
...) in order to extract the corresponding doc.
|
|\ \
| | |
| | |
| | |
| | | |
7495845 Fix CXX/Fortran MODULE flags when enabled before C (#12929)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If CXX or Fortran is enabled before C then the values of
CMAKE_SHARED_MODULE_C_FLAGS
CMAKE_SHARED_MODULE_CREATE_C_FLAGS
may not be available. On platforms where MODULE library (plugin) creation
is the same as SHARED library creation initialize the MODULE creation
flags from the SHARED creation flags of the matching language instead of
assuming that C has been enabled first.
Teach the COnly and CxxOnly tests to build MODULE libraries. The latter
covers this specific case.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
9e25b12 FindLibArchive: support version selection
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
31826b5 FindPerl{,Libs}: move version detection into FindPerl
|
| | |/
| |/|
| | |
| | |
| | | |
If the first attempt of getting the version doesn't succeed, try a second
approach.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
44d007b CheckIncludeFiles: fix status output
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
CHECK_INCLUDE_FILES("foo.h" HAVE_FOO_H) gave an output like:
Looking for include files HAVE_FOO_H
After this change it does now what CHECK_INCLUDE_FILE() also does:
Looking for include files foo.h
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
c4a0bce CPack: Fix NSIS handling of privileged users (#12923)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When using the NSIS generator from CPack the file NSIS.template.in is
used to generate a project.nsi file for NSIS to process. The file
consists code in the NSIS scripting language. Among other functions
there is an onInit function the initializes the installer. The function
(tries to) recognise admin and power users but fails since NSIS
scripting language relative includes the jump from the current command
so +3 means "run the third command after this one", so a failed check
for admin completely skips the check for a power user and goes directly
to "done:".
User permission lookup was added in initial NSIS support by commit
a11b9a4c (Merge from CPack branch, 2006-01-01). Later commit b1b052fd
(Several changes to for NSIS, 2006-03-01) added a line inside a block
that should be skipped by a jump without updating the jump length.
Update the jump length to correct the behavior.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
77e6c6f FindGettext: support version selection
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
c040054 Findosg: New modules for osgQt and osgPresentation
|
| |/ /
| | |
| | |
| | |
| | | |
Added new find modules for osgQt and osgPresentation submitted by
Robert Osfield <robert.osfield@gmail.com>
|