Hi,
I think you need to set the variable CONFIGURE_COMMAND to empty like this:
> ExternalProject_Add(
> freetype
> PREFIX "${BUILD_ENV}/freetype"
> GIT_REPOSITORY "https://github.com/brooklynpacket/freetype2.git;
> GIT_TAG 64bit
CONFIGURE_COMMAND ""
>
dependencies in the good build type.
Le sam. 5 janv. 2019 à 17:35, frodak17 a écrit :
>
>
> On Sat, Jan 5, 2019 at 11:08 AM Romain LEGUAY
> wrote:
>
>> Hi everyone,
>>
>>
>>
>> Is there a way to test if the build type changed?
>>
>>
Hi everyone,
Is there a way to test if the build type changed?
I try to create a cache variable with CMAKE_BUILD_TYPE as value but I found
an unexpected result: CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES are not
defined (I'm working on Windows with Visual Studio 2017, Visual Studio Code
Ninja) and is not used for IDE type
> generators.
> You should rather look for CMAKE_CONFIGURATION_TYPES as well as
> CMAKE_CFG_INTDIR.
>
> Greetings,
>
> Kai
>
> http://kai-wolf.me
> http://effective-cmake.com
>
>
> > Am 20.12.2018 um 12:09 schrieb Romain LEG
Hello everyone,
I'm trying to build VTK and ITK along my project.
For now, I use the trick to add an option to build VTK and ITK only once
using ExternalProject_Add for all my dependencies and also for my project.
This works great on Unix system but with a VS solution, the dependencies
are not
I found the solution!!
I just add the plugins attached to the Qt Component (in my case Qt5Widgets) and
install it:
set(qtplugins)
foreach(plugin ${Qt5Widgets_PLUGINS})
get_target_property(_loc ${plugin} LOCATION)
list(APPEND qtplugins ${_loc})
endforeach()
Hello everyone,
I try to install a bundle application on macOS.
I successfully create the bundle and add all dependencies to Qt event the
plugin platform libqcocoa.dylib.
Unfortunately, when I launch the installed app, the window style is not the
same as the build app style (macOS) as you can
Hello everyone,
I try to append a string (target name) on a list inside a function called in
other CMakeLists.
I have the following project’s tree:
├── CMakeLists.txt
├── test
├── CMakeLists.txt
└── app
├── CMakeLists.txt
├── appA
│ ├── CMakeLists.txt
must be compiled with the
> same version of Visual Studio used to compile the C client library
> (which is Visual Studio 2013 for the static C client library built by
> Oracle).
>
>
> Regards,
>
> Juan
>
>
> On 6/1/18 9:53 AM, Romain LEGUAY wrote:
> > Hi everyone,
Hi everyone,
I try to find MYSQL dynamic library on windows.
For this, I use the following command:
set(_PF86 "ProgramFiles(x86)")
find_library( MYSQL_LIBRARY
NAME "libmysql.dll"
PATHS "$ENV{PROGRAMFILES}/MySQL/*/lib"
"$ENV{${_PF86}}/MySQL/*/lib"
"$ENV{SYSTEMDRIVE}/MySQL/*/lib"
;https://github.com/OpenChemistry/avogadroapp/blob/master/avogadro/lastinstall/CMakeLists.txt
>
> <https://github.com/OpenChemistry/avogadroapp/blob/master/avogadro/lastinstall/CMakeLists.txt>>
>
> Regards,
> Oleksii Vilchanskyi
>
> On 8.9.2017 18:11, Romain LEGUAY wrote:
Hello everyone,
Since this morning, I try to create a Bundle Application using CMake (3.9.1).
My application use VTK (8.x) and Qt (5.x). The find_package of those two
libraries works greats (no problem to build and run the application).
I have many problems:
1) I try to add an icon without
Hello everyone,
I have a Qt application that search for another Qt applications and some
plugins too. On Windows, I just create the executables in the same
folder but on Mac OS X, I can't do that: I must create a bundle like this:
MyApplication.app/
Contents/
Frameworks/
Hello everyone,
I try to build a small Qt application (helloGUI) with a shared library (hello).
Here is my application and library tree:
├── CMakeLists.txt
├── gui
│ ├── CMakeLists.txt
│ ├── bundle.cmake
│ ├── include
│ │ └── MainWindow.hpp
│ ├── src
│ │ ├── MainWindow.cpp
│ │
Hello everyone,
I think I found a bug with CMake 2.8.12.2: I have on project with two
sub-folders: a SHARED library and an executable that use the library.
When I generate the Visual Studio solution, my application want to link
with a static version of my library.
I join you a very small
, Romain Leguay wrote:
I think I found a bug with CMake 2.8.12.2: I have on project with two
sub-folders: a SHARED library and an executable that use the library.
When I generate the Visual Studio solution, my application want to
link with a static version of my library.
I join you a very small
not too much of pain and this way, we can tell which
methods / class is exported. Hopefully, it's a new project ;)
Regards,
Romain
--
Gruesse,
Jakub
-Original Message-
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Romain Leguay
Sent: Donnerstag, 17. April 2014 14:27
To: Nils
Hello everyonne,
I try to build my lybrary in debug and release mode in only one command.
The purpose is to create a package with the minimum files (library in
debug and release mode and headers) inside it.
Actually, I do something like this:
add_custom_command(OUTPUT
Hello John,
I made some generic scripts to answer has those kind of problem. There
is an example in the folder Examples/FrameworkTest.
You can find the scripts on GitHub:
https://github.com/Athius/FrameworkCMakeToolkit
I hope this is helpful.
Best regards,
Romain
Le 18/04/13 05:38, John
Hello everyone,
I make a library and when I install it, I want to put inside the PATH
environment variable the include directory path and the library path.
I write this:
set(CPACK_NSIS_MODIFY_PATH ON)
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS \${EnvVarUpdate} \$0\ \PATH\
\A\ \HKCU\
Thank you Ken !
I just create an account on the cmake wiki so in few days the worlds going
to know the greatness of FrameCMakeToolkit :-p!
Romain
De : Moreland, Kenneth [mailto:kmo...@sandia.gov]
Envoyé : dimanche 28 octobre 2012 15:01
À : Romain LEGUAY
Cc : cmake@cmake.org
Objet
Hello everyone!
I did some generic CMake scripts to more easier build C/C++ projects.
Those scripts permits to build static library, build executable, build
cxxtest, generate Doxygen Documentation in html, latex and pdf formats,
create source, binary and documentation (just the pdf file)
Thank you Eric,
I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS
variable.
I have some problem now to put my package in a specific folder. I try to
set CPACK_TOPLEVEL_TAG variable but there is no change...
Le 22/10/12 20:59, Eric Noulard a écrit :
If you want to have
Le 23/10/12 10:45, Romain LEGUAY a écrit :
Thank you Eric,
I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS
variable.
I have some problem now to put my package in a specific folder. I try
to set CPACK_TOPLEVEL_TAG variable but there is no change...
I just resolve
Hello everyone,
My c++ project contains a Library folder, an Applications folder and a
Demos folder like this:
Project/
|- Library/
|- include/
|- src/
|- Applications/
|- appliA/
there is some problem to generate the cmTryCompileExec file
because when I do:
*sudo cmake -GXcode .*
I have no problem.
Of course I have write access to my project folder so I don't really
understand the problem here...
If anyone has some clues ;).
Regards,
Romain LEGUAY
Le 09/08/12 23
Hi again!
I succeed to generate a Xcode project (with a normal user) with cmake-gui.
I hope this new information can lead you to the solution.
Regards,
Romain
Le 10/08/12 11:34, Romain LEGUAY a écrit :
Hi everyone!
I have a problem to generate a Xcode project.
I completely remove Xcode
Hello,
I have practically the same problem with OS X 10.7.4 and the last
version of XCode (4.4.1).
$ cmake -GXcode .
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has
Hello everyone,
I don't find in any example to override a variable.
I proceed this way:
unset(MY_VAR CACHE)
set(MY_VAR MY_NEW_VALUE)
I have many variables so I would like to have just one line to change
just the value of the variable (not its documentation) in one line like
this:
NEW_VALUE FORCE)
Cheers,
Yngve
On Wednesday 18. July 2012 15.49.31, Romain LEGUAY wrote:
Hello everyone,
I don't find in any example to override a variable.
I proceed this way:
unset(MY_VAR CACHE)
set(MY_VAR MY_NEW_VALUE)
I have many variables so I would like to have just one line to change
just
Hello everyone,
I have a big project organized like this:
root/
- CMakeLists.txt
CMake/
-- some .cmake scripts
lib/
-- CMakeLists.txt
include/
src/
CMake/
-- some .cmake scripts
apps/
off of that.
On Mon, Jul 9, 2012 at 6:58 AM, Romain LEGUAY romain.leg...@gmail.com wrote:
Hello everyone,
I have a big project organized like this:
root/
- CMakeLists.txt
CMake/
-- some .cmake scripts
lib/
-- CMakeLists.txt
Hello everyone!
I found in previous message there is none option to specify to
find_library function to search just static library. It was for CMake 2.6.
Has it got any change with the new version of CMake?
I try to specify the name of the library like this:
find_library(MY_STATIC_LIB NAMES
Hello everyone!
First, I need to thank you all the CMake developers for their awesome
work!!!
I try to build a static and a shared libraries. I set the
LIBRARY_OUTPUT_DIRECTORY for each library target like this:
set_target_properties(${sharedLib} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY
Ok thanks for your quick answers! It works perfectly now!
Why don't we have just one variables for the library?
With set_target_properties, we can define for each library the path.
Romain
Le 11/11/2011 15:38, Andreas Pakulat a écrit :
On 11.11.11 15:18:05, Romain LEGUAY wrote:
Hello
35 matches
Mail list logo