On 15. Dec, 2008, at 16:46, Werner Smekal wrote:
Hi,
On 15.12.2008, at 16:39, Hendrik Sattler wrote:
Michael Wild schrieb:
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package( PkgConfig REQUIRED )
pkg_ch
Hi,
On 15.12.2008, at 16:39, Hendrik Sattler wrote:
Michael Wild schrieb:
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package( PkgConfig REQUIRED )
pkg_check_modules( _sigcxx2 REQUIRED sigc++-2.0 )
end
Michael Wild schrieb:
> if (NOT WIN32)
> # use pkg-config to get the directories and then use these values
> # in the FIND_PATH() and FIND_LIBRARY() calls
> find_package( PkgConfig REQUIRED )
> pkg_check_modules( _sigcxx2 REQUIRED sigc++-2.0 )
> endif (NOT WIN32)
pkgconfig can also be use
On 14. Dec, 2008, at 5:41, Kermit Mei wrote:
Werner Smekal wrote:
Hi,
Kermit Mei wrote:
Hello, all.
I used sigc++ library in my program, so I must compile my main.cc
like this:
c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0 -I/usr/lib/sigc
++-2.0/include -lsigc-2.0
Then, how can
Werner Smekal wrote:
Hi,
Kermit Mei wrote:
Hello, all.
I used sigc++ library in my program, so I must compile my main.cc
like this:
c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -lsigc-2.0
Then, how can I write the CMakeLists.txt? I worte it like this:
Hi,
Kermit Mei wrote:
Hello, all.
I used sigc++ library in my program, so I must compile my main.cc like
this:
c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -lsigc-2.0
Then, how can I write the CMakeLists.txt? I worte it like this:
cmake_minimum_requir
Hello, all.
I used sigc++ library in my program, so I must compile my main.cc like this:
c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -lsigc-2.0
Then, how can I write the CMakeLists.txt? I worte it like this:
cmake_minimum_required(VERSION 2.6)
PROJECT(M