Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
svn path=/trunk/yarp2/; revision=6680
  • Loading branch information
YARP Developers committed Apr 9, 2008
1 parent 6e18a46 commit 321dbb6
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions example/ace_check/timers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a small project to check if ace is working
PROJECT(ace_check)
PROJECT(timers)

# There is a script for finding the ACE library in the prev directory
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../)
Expand All @@ -9,7 +9,6 @@ FIND_PACKAGE(Ace REQUIRED)

# Find source code files
FILE(GLOB HEADERS *.h)
#FILE(GLOB CODE *.cpp)
SET(CODE main.cpp)

# Lay the files out in folders in environments where that makes sense
Expand All @@ -19,16 +18,4 @@ SOURCE_GROUP("Source Files" FILES ${CODE})

# Create our executable
ADD_EXECUTABLE(checkTime ${HEADERS} ${CODE})

ADD_DEFINITIONS(-D_REENTRANT)

# This is just for packaging up this example for distribution
IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An example for testing ACE")
SET(CPACK_PACKAGE_VENDOR "VVV")
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "1")
INSTALL_FILES(/ FILES ${HEADERS} ${CODE} CMakeLists.txt FindAce.cmake)
INCLUDE(CPack)
ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
ADD_DEFINITIONS(-D_REENTRANT)

0 comments on commit 321dbb6

Please sign in to comment.