The Second International Conference on Green Computing, Intelligent and
Renewable Energies (GCIRE2016)
University of Perpetual Help System DALTA
Las Piñas-Manila, Philippines
February 24-26, 2016
http://sdiwc.net/conferences/gcire2016/
gcir...@sdiwc.net
===
T
Say you have a simple cpp file:
cat > test.cpp
int main() { return 0; }
Then you have this as your CMakeLists.txt file:
set(input_file test.cpp)
set(generated_file
${CMAKE_CURRENT_BINARY_DIR}/${input_file}.blah${CMAKE_CXX_OUTPUT_EXTENSION})
add_custom_command(
OUTPUT ${generated_file}
COMMAN
On Thursday, January 14, 2016 21:51:23 Biddiscombe, John A. wrote:
> Apologies for posting a cdash question question to the cmake list…
>
> CDash plots the run-time of tests, which is very useful indeed, but it would
> be even more useful if one could output a performance related ‘time’ from a
> t
Hello,
Is there a way to create both a Windows UWP project and an old Win32
console project in same solution? I have a toolchain file that sets
CMAKE_SYSTEM_NAME to WindowsStore in order to create the UWP project, but
then any other add_executable call will also create a Windows 10 project.
I wa
Apologies for posting a cdash question question to the cmake list…
CDash plots the run-time of tests, which is very useful indeed, but it would be
even more useful if one could output a performance related ‘time’ from a test
where a specific feature was being benchmarked and one could see how it
On 1/14/2016 3:02 PM, mozzis wrote:
I was able to edit CMakeCache.txt and CPackConfig.cmake (with CMake GUI
closed)
I changed
CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 Win64
to
CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010
and then in general looked for the string "64" and made app
I often find it more convenient to call add_library() and
add_executable() first, apply properties to them etc., and then later
add the sources to them with target_sources() (usually in other CMake
files via add_subdirectory). Obviously, all my targets will eventually
have sources added.
However,
I was able to edit CMakeCache.txt and CPackConfig.cmake (with CMake GUI
closed)
I changed
CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 Win64
to
CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010
and then in general looked for the string "64" and made appropriate changes.
I then started CMake
Hi Vania,
find_library(SYSC_LIB systemc PATHS "${SYSTEMC_PATH}"
> PATH_SUFFIXES lib-linux64 lib64-linux lib64-linux64)
>
In this first call, SYSTEMC_PATH is being dereferenced as a CMake
variable. This works because in your invocation of CMake:
cmake -G "Unix Makefiles" -DSYSTEMC
Hi Vania.
A quick look a CMake docs will show you CMake's try_compile() command:
https://cmake.org/cmake/help/latest/command/try_compile.html
(There is also a try_run(), if required).
I believe that's precisely what you want.
Petr
On Thu, Jan 14, 2016 at 5:44 PM, Vania Joloboff
wrote:
> Hi
>
Hi
I can find if an include file exists with CHECK_INCLUDE_FILE
But I want to know if a particular feature is supported
in our case we need to know if the mmap call exists
and whether it supports the MAP_ANONYMOUS feature
With autoconf, I can use AC_TRY_COMPILE to try compiling
a program using th
Hello,
I'm trying to get CMake to talk to an SSL server using a self-signed
certificate. It works just fine with downloads. The certificate path
appears in the LOG:
successfully set certificate verify locations:
CAfile: /path/to/my/certificate.pem
CApath: /etc/ssl/certs
and the TLS handshake
Defining a variable using -D option does not put this one in the environment
(i.e. system environment) so using ENV will fails...
On 14/01/16 10:28, "CMake on behalf of Vania Joloboff" wrote:
>I am running cmake 3.2.2 on Linux 64 bits
>
>I run cmake with
>
> cmake -G "Unix Makefiles" -DSYST
I am running cmake 3.2.2 on Linux 64 bits
I run cmake with
cmake -G "Unix Makefiles" -DSYSTEMC_PATH=$HOME/systemc-2.3.1/
In my CMakeLists.txt,
If I put
find_library(SYSC_LIB systemc PATHS "${SYSTEMC_PATH}"
PATH_SUFFIXES lib-linux64 lib64-linux lib64-linux64)
it works.
If I p
Hi Owen.
As a sanity check, the definition of the macro in the toplevel CMakeList
comes *before* the add_subdirectory() command for the one which errors out,
right?
Petr
On Thu, Jan 14, 2016 at 8:25 AM, Owen Hogarth II
wrote:
> I am trying to use a macro to enable c99 in some of my cmake modul
Hello Stephen,
On Tue, Jan 12, 2016 at 8:58 PM, Stephen Kelly wrote:
> Rashad Kanavath wrote:
>
> > I am having this when I build packages for debian where I split
> components
> > into separate packages project1-core, project1-gui etc..
>
> I think you need to patch the buildsystems of the soft
16 matches
Mail list logo