Skip to content

Commit b127992

Browse files
committed
toblob: use target name rather than hardcoded path
Also, remove some unneeded cruft
1 parent bd6ae6a commit b127992

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

flogl/CMakeLists.txt

+1-6
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,10 @@ add_library(flogl
4040

4141
add_custom_command(
4242
OUTPUT LedTexture.cpp
43-
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/toblob" "${CMAKE_CURRENT_SOURCE_DIR}/LED.DDS" "${CMAKE_CURRENT_BINARY_DIR}" LedTexture
43+
COMMAND toblob "${CMAKE_CURRENT_SOURCE_DIR}/LED.DDS" "${CMAKE_CURRENT_BINARY_DIR}" LedTexture
4444
DEPENDS toblob LED.DDS
4545
)
4646

4747
target_link_libraries(flogl
4848
${ALL_LIBS}
4949
)
50-
51-
# Xcode and Visual working directories
52-
set_target_properties(flogl PROPERTIES XCODE_ATTRIBUTE_CONFIGURATION_BUILD_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tutorial18_billboards_and_particles/")
53-
54-
SOURCE_GROUP(common REGULAR_EXPRESSION ".*/common/.*" )

0 commit comments

Comments
 (0)