Attached is a patch that will find the iconv library by testing to make
sure it exists by compiling a sample C file.
Thank you,
Steven N. Oliver
0001-Add-new-FindIconv-module.patch
Description: Binary data
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.ki
I need to test for the presence of a directory called driver_root. I
couldn't see a find_directory() command in the help so I am using the
following lines in my CMakeLists.txt:
message("1 DRV_ROOT_CHECK: ${DRV_ROOT_CHECK}")
if (DEFINED ENV{DRV_ROOT})
find_file(DRV_ROOT_CHECK drive
> Not sure if it works with QtCreator or not, but you should be able to
> add_custom_target and use the SOURCES argument to get "source" files
> to show up in the generated project.
Ah, thanks. I had tried:
add_custom_target(MyProject MyProject.h)
but not:
add_custom_target(MyProject SOURCES My
On Tue, Aug 28, 2012 at 10:01 AM, David Doria wrote:
> I have just started using QtCreator. When I open a CMake project in
> QtCreator, all of my cpp files mentioned in the CMakeLists.txt are added to
> the "project". However, my headers (.h) and template implementation (.hpp)
> are not added to t
On Mon, Aug 27, 2012 at 2:37 PM, Robert Dailey wrote:
> I'm seeing different results here between Windows 7 and Windows XP.
> Here is the CMake code I use to add /FI (force includes) to the
> compiler flags for a source file:
>
> function( _force_include header_file )
> if( MSVC )
>
I have just started using QtCreator. When I open a CMake project in
QtCreator, all of my cpp files mentioned in the CMakeLists.txt are added to
the "project". However, my headers (.h) and template implementation (.hpp)
are not added to the project (I believe this is the same behavior as Visual
Stud