Skip to content

Commit

Permalink
Debug postfix tag added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Olav Nygaard authored and Jens Olav Nygaard committed Oct 16, 2013
1 parent 9d2ced4 commit 6bbdace
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.6)
SET( version_number "0.2.5" )
SET(TINIA_VERSION ${version_number})

# Tagging debug-libraries
# Note: If the postfix string is changed, remember also to modify the contents of config/debug/mod_trell.load!
SET(CMAKE_DEBUG_POSTFIX "d")

# Set shared for linux:
IF(NOT WIN32)
IF(NOT DEFINED ${BUILD_SHARED_LIBS})
Expand Down
1 change: 1 addition & 0 deletions config/dbg/mod_trell.load
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LoadModule trell_module /usr/var/trell/module/libmod_tinia_trelld.so
18 changes: 18 additions & 0 deletions src/mod_trell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,24 @@ INSTALL( FILES ../../config/mod_trell.load ../../config/mod_trell.conf
PERMISSIONS WORLD_READ OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
COMPONENT mod_trell
)

# Note that mod_trell.conf is the same for both Debug and Release, mod_trell.load differs.
# Note also that the one for Release below is just a copy of the default one above.

INSTALL( FILES ../../config/dbg/mod_trell.load ../../config/mod_trell.conf
DESTINATION share/tinia/conf
PERMISSIONS WORLD_READ OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
CONFIGURATIONS Debug
COMPONENT mod_trell
)

INSTALL( FILES ../../config/mod_trell.load ../../config/mod_trell.conf
DESTINATION share/tinia/conf
PERMISSIONS WORLD_READ OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
CONFIGURATIONS Release
COMPONENT mod_trell
)

INSTALL( DIRECTORY "../../js"
DESTINATION var/trell
COMPONENT mod_trell
Expand Down

0 comments on commit 6bbdace

Please sign in to comment.