Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2007, 10:14:04 PM (18 years ago)
Author:
rgrieder
Message:
  • removed the linker flags, since —no-undefined has no influence when building shared libraries (sorry Nico for you efforts) —no-allow-shlib-undefined should exist, but doesn't according to the man page, and it also doesn't work anyway.
  • removed linkage of ENet to the main executable as well (not necessary)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/CMakeLists.txt

    r371 r376  
    11PROJECT(Orxonox)
    2 #set some global variables, which are use throughout the project
     2#set some global variables, which are used throughout the project
    33
    44#Create some verbose output
    55SET(CMAKE_VERBOSE_MAKEFILE TRUE)
    66
    7 # set eNet search path
     7# set boost search path
    88SET(Boost_INCLUDE_DIR "/usr/include/boost/")
    99
     
    4747#This sets where to look for "Find*.cmake" files
    4848SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
    49 # SET(BOOST_LIBDIR /usr/pack/boost-1.33.1-mo/i686-debian-linux3.1/lib/)
    50 # SET(BOOST_INCDIR /usr/pack/boost-1.33.1-mo/i686-debian-linux3.1/include/)
    5149
    5250#Performs the search and sets the variables
     
    5856FIND_PACKAGE(Boost)
    5957
    60 #Sets the search paths for the linking
     58#Sets the search paths for the linker
    6159LINK_DIRECTORIES(
    62         ${OGRE_LIB_DIR}
    63         ${OIS_LIB_DIR}
    64         ${CEGUI_LIB_DIR}
    65         ${CEGUI_OGRE_LIB_DIR}
    66         ${ENet_LIBRARY}
    67         ${Boost_LIBRARY_DIRS}
     60  ${OGRE_LIB_DIR}
     61  ${OIS_LIB_DIR}
     62  ${CEGUI_LIB_DIR}
     63  ${CEGUI_OGRE_LIB_DIR}
     64  ${ENet_LIBRARY}
     65  ${Boost_LIBRARY_DIRS}
    6866)
    6967
    7068#Sets the search path for include files
    7169INCLUDE_DIRECTORIES(
    72         ${OGRE_INCLUDE_DIR}
    73         ${OIS_INCLUDE_DIR}
    74         ${CEGUI_INCLUDE_DIR}
    75         ${CEGUI_OGRE_INCLUDE_DIR}
    76         ${ENet_INCLUDE_DIR}
    77         ${Boost_INCLUDE_DIRS}
     70  ${OGRE_INCLUDE_DIR}
     71  ${OIS_INCLUDE_DIR}
     72  ${CEGUI_INCLUDE_DIR}
     73  ${CEGUI_OGRE_INCLUDE_DIR}
     74  ${ENet_INCLUDE_DIR}
     75  ${Boost_INCLUDE_DIRS}
    7876)
    7977
Note: See TracChangeset for help on using the changeset viewer.